Execute command on the Ansible host — Ansible localhost
How to execute Ansible command(s) or task(s) on localhost using the connection plugin local and the right ansible internals variables.
4 min readMar 9, 2022
I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday