Skip to content

Instantly share code, notes, and snippets.

@JBKahn
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JBKahn/4cf7668346a2903337a7 to your computer and use it in GitHub Desktop.
Save JBKahn/4cf7668346a2903337a7 to your computer and use it in GitHub Desktop.
Ansible Post
setup.yml # master playbook
HOSTS # HOSTS file which defines where the script will run. This points to localhost.
requirements.txt # the requierments for running this playbook, including ansible
run.sh # one command script for install requirements, cloning the repo and provisioning.
roles/
common/ # this hierarchy represents a "role"
tasks/ #
*.yml # <-- tasks files i'll talk about later
files/ #
*.* # <-- files for use with the copy resource
vars/ #
main.yml # <-- variables associated with this role
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment