Michael Grote
7a24089031
Reviewed-on: #584 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
18 lines
401 B
YAML
18 lines
401 B
YAML
---
|
|
- name: stop systemd-resolved service
|
|
ansible.builtin.systemd:
|
|
name: systemd-resolved
|
|
state: stopped
|
|
|
|
- name: mask systemd-resolved service
|
|
ansible.builtin.systemd:
|
|
name: systemd-resolved
|
|
masked: true
|
|
state: stopped
|
|
|
|
- name: template /etc/resolv.conf
|
|
ansible.builtin.template:
|
|
src: resolv.conf.j2
|
|
dest: /etc/resolv.conf
|
|
backup: true
|
|
notify: restart dnsmasq
|