diff --git a/CHANGELOG.md b/CHANGELOG.md index 87bf8a5..6c95557 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v1.0.X + +## Enhancements +* Add example playbook. ## v1.0 diff --git a/README.md b/README.md index 62097fb..99fb85f 100644 --- a/README.md +++ b/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