diff --git a/roles/0-init/tasks/hostname.yml b/roles/0-init/tasks/hostname.yml index 00a441bd8..b355aa770 100644 --- a/roles/0-init/tasks/hostname.yml +++ b/roles/0-init/tasks/hostname.yml @@ -24,7 +24,7 @@ mode: 0644 when: is_redhat | bool -# roles/network/tasks/hosts.yml ALSO does this: +# roles/network/tasks/hosts.yml [no longer in use] ALSO did this: - name: 'Put FQDN & hostnames in /etc/hosts: "127.0.0.1 {{ iiab_hostname }}.{{ iiab_domain }} localhost.localdomain localhost {{ iiab_hostname }} box box.lan"' lineinfile: path: /etc/hosts diff --git a/roles/network/tasks/hosts.yml b/roles/network/tasks/hosts.yml.deprecated similarity index 93% rename from roles/network/tasks/hosts.yml rename to roles/network/tasks/hosts.yml.deprecated index 35287778c..ce4a7467f 100644 --- a/roles/network/tasks/hosts.yml +++ b/roles/network/tasks/hosts.yml.deprecated @@ -1,3 +1,5 @@ +# this (hosts.yml) WAS invoked by roles/network/tasks/main.yml up until 2019-12-10 + #TODO: Use vars instead of hardcoded values - name: Remove FQDN with 172.18.96.1 in /etc/hosts without LAN (if iiab_lan_iface == "none" and not installing) lineinfile: