mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +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
|
state: present
|
||||||
when: not (iiab_lan_iface == "none") and not installing
|
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:
|
# 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?)'
|
- 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:
|
lineinfile:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue