Adding an "Example Playbook" section to the README template for ansible-galaxy

Fixes 5397
This commit is contained in:
James Cammarata 2014-01-24 15:39:30 -06:00
parent 593098108e
commit fc30467593

View file

@ -107,6 +107,15 @@ Dependencies
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Example Playbook
-------------------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
License
-------