fix: add become to link resolv.conf
This commit is contained in:
parent
67c49d89bc
commit
62deb784a5
@ -35,6 +35,7 @@
|
|||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
- name: Link resolv.conf
|
- name: Link resolv.conf
|
||||||
|
become: true
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
state: link
|
state: link
|
||||||
src: "/run/systemd/resolve/stub-resolv.conf"
|
src: "/run/systemd/resolve/stub-resolv.conf"
|
||||||
|
Loading…
Reference in New Issue
Block a user