mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Clarif FQDN & hostnames added to /etc/hosts
This commit is contained in:
parent
b9b773aa00
commit
17e8c4ee6e
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@
|
|||
state: present
|
||||
when: iiab_lan_iface != "none" and not installing
|
||||
|
||||
- name: Configure FQDN with 127.0.0.1 in /etc/hosts appliance mode (if 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:
|
||||
path: /etc/hosts
|
||||
regexp: '^127\.0\.0\.1'
|
||||
|
|
Loading…
Reference in a new issue