Skip to content

Instantly share code, notes, and snippets.

@lattejed
Last active August 23, 2021 01:56
Show Gist options
  • Save lattejed/5989716 to your computer and use it in GitHub Desktop.
Save lattejed/5989716 to your computer and use it in GitHub Desktop.
echo "<your server ip x.x.x.x>" > host.ini
ansible all -i host.ini -m ping -u root
# x.x.x.x | success >> {
# "changed": false,
# "ping": "pong"
# }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment