Posted on 24th July 2024|24 views
Define local_action directive
Posted on 24th July 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.