2014-02-25 10:32:14 +00:00
|
|
|
---
|
|
|
|
title: Ansible roles
|
2015-11-24 04:32:36 +00:00
|
|
|
category: Ansible
|
2014-02-25 10:32:14 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
### Structure
|
|
|
|
|
|
|
|
roles/
|
|
|
|
common/
|
|
|
|
tasks/
|
|
|
|
handlers/
|
|
|
|
files/ # 'copy' will refer to this
|
|
|
|
templates/ # 'template' will refer to this
|
|
|
|
meta/ # Role dependencies here
|
|
|
|
vars/
|
2017-10-10 16:03:36 +00:00
|
|
|
defaults/
|
|
|
|
main.yml
|
2014-02-25 10:32:14 +00:00
|
|
|
|
|
|
|
### References
|
|
|
|
|
|
|
|
* http://www.ansibleworks.com/docs/playbooks_roles.html
|