2
Ansible roles cheatsheet
source link: https://devhints.io/ansible-roles
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK