Created
February 24, 2022 00:25
-
-
Save amaurybsouza/ef877c2c2500a8e72ed0ad7847b0ee90 to your computer and use it in GitHub Desktop.
ansible_adhoc
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 | |
localhosts | SUCCESS => { | |
"changed": false, | |
"ping": "pong" | |
} | |
localhost | SUCCESS => { | |
"ansible_facts": { | |
"discovered_interpreter_python": "/usr/bin/python3" | |
}, | |
"changed": false, | |
"ping": "pong" | |
} | |
elliot01 | UNREACHABLE! => { | |
"changed": false, | |
"msg": "Failed to connect to the host via ssh: ssh: connect to host 45.94.149.182 port 22: Connection timed out", | |
"unreachable": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment