mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
Merge pull request #7 from georgejhunt/resolv
remove anything that breaks if resolvconf service is referenced
This commit is contained in:
commit
f194006ab7
2 changed files with 1 additions and 12 deletions
|
@ -16,12 +16,6 @@
|
|||
when: named_enabled
|
||||
register: dns_started
|
||||
|
||||
# decide if resolvconf will ever be used FIXME
|
||||
- name: Configure resolvconf -- put localhost in resolv.conf
|
||||
lineinfile: line="nameserver 127.0.0.1"
|
||||
dest=/etc/resolvconf/resolv.conf.d/head
|
||||
when: named_enabled and is_debuntu and dns_started.changed
|
||||
|
||||
- name: Stop dansguardian
|
||||
service: name=dansguardian
|
||||
state=stopped
|
||||
|
|
|
@ -16,12 +16,7 @@
|
|||
|
||||
- name: Get the stock resolv.conf manager
|
||||
package: name=resolvconf
|
||||
state=present
|
||||
|
||||
- name: recent raspbian uses dhcpcd rather than resolvconf
|
||||
service: name=resolvconf
|
||||
enabled=False
|
||||
state=stopped
|
||||
state=absent
|
||||
|
||||
- name: on upgrade from earlier xsce versions, remove /etc/network/interfaces.d/br0
|
||||
file: path=/etc/network/interfaces.d/br0
|
||||
|
|
Loading…
Reference in a new issue