mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #2059 from holta/dnsmasq-cleanup
Clean up PR #2051, clarifying remaining mods to /etc/hosts (now that dnsmasq uses /etc/hosts.dnsmasq instead)
This commit is contained in:
commit
b891ac43e7
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
Loading…
Add table
Reference in a new issue