From 08c4151368d92409cce9b4fc30fe40a903dc7205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Fri, 12 Jan 2018 10:39:22 +0100 Subject: [PATCH] Add example playbook. --- CHANGELOG.md | 4 ++++ README.md | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) 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