Skip to content

Instantly share code, notes, and snippets.

@yogeek
Last active April 15, 2019 13:11
Show Gist options
  • Save yogeek/d062720f97320a68dd42afec6d6e9955 to your computer and use it in GitHub Desktop.
Save yogeek/d062720f97320a68dd42afec6d6e9955 to your computer and use it in GitHub Desktop.
Ansible comands
./ansible.sh -i inventories/dev -c local -m template -a "src=file.j2 dest=file.txt" 127.0.0.1
# Online tool
https://cryptic-cliffs-32040.herokuapp.com/
# https://stackoverflow.com/questions/35407822/how-can-i-test-jinja2-templates-in-ansible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment