From 44b0632f050e46bd017e1ccf49445edb10f97dbb Mon Sep 17 00:00:00 2001 From: George Hunt Date: Mon, 23 Dec 2019 18:37:16 +0000 Subject: [PATCH] remove mods to etc.hosts --- roles/network/tasks/hosts.yml.deprecated | 8 -------- 1 file changed, 8 deletions(-) diff --git a/roles/network/tasks/hosts.yml.deprecated b/roles/network/tasks/hosts.yml.deprecated index 67898d350..ce4a7467f 100644 --- a/roles/network/tasks/hosts.yml.deprecated +++ b/roles/network/tasks/hosts.yml.deprecated @@ -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: