Skip to content

Instantly share code, notes, and snippets.

@johnrlive
Last active September 12, 2018 19:05
Show Gist options
  • Save johnrlive/31eb8fe52a8164359143bf30c66a9d31 to your computer and use it in GitHub Desktop.
Save johnrlive/31eb8fe52a8164359143bf30c66a9d31 to your computer and use it in GitHub Desktop.
#!/bin/bash
mkdir -p inventories/{production,staging}/{group_vars,host_vars}
touch inventories/{production,staging}/hosts
mkdir -p group_vars host_vars library module_utils filter_plugins
mkdir -p roles/common/{tasks,handlers,templates,files,vars,defaults,meta,library,module_utils,lookup_plugins}
touch site.yml roles/common/{tasks,handlers,templates,files,vars,defaults,meta}/main.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment