Add example playbook.
This commit is contained in:
parent
6248bfe00b
commit
9d2ee07435
12
README.md
12
README.md
@ -93,11 +93,15 @@ A list of other roles hosted on Galaxy should go here, plus any details in regar
|
|||||||
|
|
||||||
## Example Playbook
|
## 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:
|
```yml
|
||||||
|
- name: Example playbook
|
||||||
- hosts: servers
|
hosts: services
|
||||||
|
vars:
|
||||||
|
bonob_enabled: "true"
|
||||||
roles:
|
roles:
|
||||||
- { role: username.rolename, x: 42 }
|
- 'laurivan.navidrome'
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user