Skip to content

Instantly share code, notes, and snippets.

@hiroakis
Created August 12, 2015 09:18
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 hiroakis/b14683a84c2fb06c3b6c to your computer and use it in GitHub Desktop.
Save hiroakis/b14683a84c2fb06c3b6c to your computer and use it in GitHub Desktop.
#!/bin/sh
touch production staging
mkdir group_vars
touch group_vars/group1
touch group_vars/group2
mkdir host_vars
touch host_vars/hostname1
touch host_vars/hostname2
mkdir library
touch library/.keep
mkdir filter_plugins
touch filter_plugins/.keep
touch site.yml
touch webservers.yml
touch dbservers.yml
mkdir -p roles/{common,webtier,monitoring,fooapps}
mkdir -p roles/common/{tasks,handlers,templates,files,vars,defaults,meta}
touch roles/common/tasks/main.yml
touch roles/common/handlers/main.yml
touch roles/common/templates/ntp.conf.j2
touch roles/common/files/bar.txt
touch roles/common/files/foo.sh
touch roles/common/vars/main.yml
touch roles/common/defaults/main.yml
touch roles/common/meta/main.yml
touch roles/webtier/.keep
touch roles/monitoring/.keep
touch roles/monitoring/.keep
touch roles/fooapps/.keep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment