/ansible-skeletons

Ansible Galaxy Skeletons for both roles and playbooks

README

Basic skeletons for use with ansible-galaxy init command

Whilst normally used for roles structure this can be used to create basic scaffolding for playbooks etc.

Example usage:

ansible-galaxy init --role-skeleton=ansible-skeletons/typical-playbook foo
cd foo
git init .
git add --all

Note: You can pull a sub-directory structure directly from github with svn But you need to change the path swapping /tree/master for trunk e.g.:

svn export https://github.com/tonykay/ansible-skeletons/trunk/typical-playbook foo

Examples

  • basic-playbook

basic-playbook
├── README.adoc
├── ansible.cfg
├── hosts
├── main.yml
└── ssh.cfg
  • typical-playbook

typical-playbook
├── README.adoc
├── ansible.cfg
├── group_vars
│   └── all
├── inventory
│   ├── hosts
│   ├── jumpbox
│   └── local
├── main.yml
├── ssh
│   └── ssh.cfg
└── tasks