Skip to content

Instantly share code, notes, and snippets.

@mikequentel
Created February 13, 2017 14:48
Show Gist options
  • Save mikequentel/b37a8102cec5cf79c8394c03d4ec4880 to your computer and use it in GitHub Desktop.
Save mikequentel/b37a8102cec5cf79c8394c03d4ec4880 to your computer and use it in GitHub Desktop.
Get variables for localhost in Ansible.
#!/bin/bash
ansible all -i localhost, -c local -m setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment