Skip to content

Instantly share code, notes, and snippets.

@zircote
Last active December 21, 2015 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zircote/6251567 to your computer and use it in GitHub Desktop.
Save zircote/6251567 to your computer and use it in GitHub Desktop.
Single line creation of a default ansible playbook structure
mkdir -p {group_,host_}vars \
roles/{common,webtier}/{tasks,handlers,templates,files,vars} \
role/{monitoring,myapp} && \
touch {production,stage,development,testing,{site,webservers,dbservers}.yml}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment