Add example playbook.
This commit is contained in:
parent
72dbcd241f
commit
08c4151368
|
@ -1,3 +1,7 @@
|
|||
## v1.0.X
|
||||
|
||||
## Enhancements
|
||||
* Add example playbook.
|
||||
|
||||
## v1.0
|
||||
|
||||
|
|
14
README.md
14
README.md
|
@ -23,14 +23,26 @@ Manage some basics configuration for IPR's servers.
|
|||
|
||||
## Example Playbook
|
||||
|
||||
* Use defaults vars :
|
||||
* If you want to manage both localhost (127.0.0.1) and permanent IP (lan/ipv4) lines :
|
||||
|
||||
``` yml
|
||||
- hosts: serverXYZ
|
||||
roles:
|
||||
- role: ipr-cnrs.basics
|
||||
basics__hosts_localhost_manage: true
|
||||
basics__hosts_ipv4_manage: true
|
||||
```
|
||||
|
||||
* If the domain is not defined on the remote host, you should set the `basics__domain` variable :
|
||||
|
||||
``` yml
|
||||
- hosts: serverXYZ
|
||||
roles:
|
||||
- role: ipr-cnrs.basics
|
||||
basics__hosts_localhost_manage: true
|
||||
basics__domain: 'mydomain.org'
|
||||
````
|
||||
|
||||
## Configuration
|
||||
|
||||
### Hosts
|
||||
|
|
Reference in New Issue