Merge "Disable systemd-resolved service in nameserver role"
This commit is contained in:
commit
36b31af88a
@ -17,7 +17,7 @@
|
||||
# See the following for the original config:
|
||||
# * https://github.com/openstack/project-config/blob/0332c33dd134033e0620645c252f82b77e4c16f5/nodepool/elements/nodepool-base/finalise.d/89-unbound
|
||||
|
||||
- name: Disable local nameserver
|
||||
- name: Disable local nameserver and systemd-resolved service
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
block:
|
||||
- name: update rc.local
|
||||
@ -50,3 +50,10 @@
|
||||
masked: yes
|
||||
daemon_reload: yes
|
||||
name: unbound
|
||||
- name: stop systemd-resolved service
|
||||
systemd:
|
||||
state: stopped
|
||||
enabled: no
|
||||
masked: yes
|
||||
daemon_reload: yes
|
||||
name: systemd-resolved
|
||||
|
Loading…
x
Reference in New Issue
Block a user