Posted on 9th September 2024|24 views
Define local_action directive
Posted on 9th September 2024| views
In Ansible, local_action directive is a substitute to “delegate_to: localhost”. These actions are executed in the localhost, but in the environment of the remote host on the basis of variables.