22 lines
415 B
Markdown
22 lines
415 B
Markdown
---
|
|
title: Ansible roles
|
|
category: Ansible
|
|
---
|
|
|
|
### Structure
|
|
|
|
roles/
|
|
common/
|
|
tasks/
|
|
handlers/
|
|
files/ # 'copy' will refer to this
|
|
templates/ # 'template' will refer to this
|
|
meta/ # Role dependencies here
|
|
vars/
|
|
defaults/
|
|
main.yml
|
|
|
|
### References
|
|
|
|
* http://www.ansibleworks.com/docs/playbooks_roles.html
|