Created
February 13, 2022 14:07
-
-
Save amaurybsouza/c382fe3a6ea7435159cc3246578eb5a1 to your computer and use it in GitHub Desktop.
ansible-ad-hoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible all -m ping -i inventory.yml | |
localhost | SUCCESS => { | |
"ansible_facts": { | |
"discovered_interpreter_python": "/usr/bin/python3" | |
}, | |
"changed": false, | |
"ping": "pong" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment