diff --git a/roles/network/tasks/hosts.yml b/roles/network/tasks/hosts.yml index 4e0e2d026..601834223 100644 --- a/roles/network/tasks/hosts.yml +++ b/roles/network/tasks/hosts.yml @@ -10,7 +10,7 @@ lineinfile: path: /etc/hosts regexp: '^172\.18\.96\.1' - line: '172.18.96.1 {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box box.lan' + line: '172.18.96.1 {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box box.lan pbx pbx.lan' state: present when: iiab_lan_iface != "none" and not installing