├── .gitignore ├── LICENSE ├── README.md ├── ansible.cfg ├── example-play.yml ├── group_vars ├── all.yml └── example.yml ├── inventories ├── prod │ ├── host_vars │ │ └── prod-machine.yml │ └── hosts └── test │ ├── host_vars │ └── test-machine.yml │ └── hosts └── roles └── example-role ├── defaults └── main.yml ├── handlers └── main.yml └── tasks └── main.yml /.gitignore: -------------------------------------------------------------------------------- 1 | *.retry 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lvl3/ansible-skeleton/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lvl3/ansible-skeleton/HEAD/README.md -------------------------------------------------------------------------------- /ansible.cfg: -------------------------------------------------------------------------------- 1 | # Project specific ansible-configuration 2 | -------------------------------------------------------------------------------- /example-play.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lvl3/ansible-skeleton/HEAD/example-play.yml -------------------------------------------------------------------------------- /group_vars/all.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lvl3/ansible-skeleton/HEAD/group_vars/all.yml -------------------------------------------------------------------------------- /group_vars/example.yml: -------------------------------------------------------------------------------- 1 | # Vars used for machines with example-role 2 | -------------------------------------------------------------------------------- /inventories/prod/host_vars/prod-machine.yml: -------------------------------------------------------------------------------- 1 | # prod-machine specific vars 2 | -------------------------------------------------------------------------------- /inventories/prod/hosts: -------------------------------------------------------------------------------- 1 | [example] 2 | prod-machine 127.0.0.1 3 | -------------------------------------------------------------------------------- /inventories/test/host_vars/test-machine.yml: -------------------------------------------------------------------------------- 1 | # test-machine specific vars 2 | -------------------------------------------------------------------------------- /inventories/test/hosts: -------------------------------------------------------------------------------- 1 | [example] 2 | test-machine ansible_host=127.0.0.1 3 | -------------------------------------------------------------------------------- /roles/example-role/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # Role's defaults 2 | -------------------------------------------------------------------------------- /roles/example-role/handlers/main.yml: -------------------------------------------------------------------------------- 1 | # Role handlers 2 | -------------------------------------------------------------------------------- /roles/example-role/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lvl3/ansible-skeleton/HEAD/roles/example-role/tasks/main.yml --------------------------------------------------------------------------------