mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
remove mods to etc.hosts
This commit is contained in:
parent
67aa4f173b
commit
44b0632f05
1 changed files with 0 additions and 8 deletions
|
@ -16,14 +16,6 @@
|
|||
state: present
|
||||
when: not (iiab_lan_iface == "none") and not installing
|
||||
|
||||
- name: Remove conflicting FQDN 127.0.0.1 in /etc/hosts placed by roles/0-init/tasks/hostname..yml/ L28
|
||||
lineinfile:
|
||||
path: /etc/hosts
|
||||
regexp: '^127\.0\.0\.1'
|
||||
line: '127.0.0.1 localhost.localdomain localhost'
|
||||
state: present
|
||||
when: not (iiab_lan_iface == "none") and not installing
|
||||
|
||||
# roles/0-init/tasks/hostname.yml ALSO does this:
|
||||
- name: 'Put FQDN & hostnames in /etc/hosts: "127.0.0.1 {{ iiab_hostname }}.{{ iiab_domain }} localhost.localdomain localhost {{ iiab_hostname }} box box.lan" (if iiab_lan_iface == "none" and not installing, appliance mode?)'
|
||||
lineinfile:
|
||||
|
|
Loading…
Reference in a new issue