Skip to content

Instantly share code, notes, and snippets.

@toast38coza
Created June 4, 2015 12:08
Show Gist options
  • Save toast38coza/07ac9b7b016f5dd35790 to your computer and use it in GitHub Desktop.
Save toast38coza/07ac9b7b016f5dd35790 to your computer and use it in GitHub Desktop.
Some useful ansible commands
# Get the ansible facts
ansible -i {inventory_file} -u {username} -m setup {hostname}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment