We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 222f51d commit 1e7e987Copy full SHA for 1e7e987
tasks/main.yml
@@ -21,12 +21,11 @@
21
22
- name: Create /etc/resolv.conf symlink
23
ansible.builtin.file:
24
+ # Do not apply any group, owner, or mode changes to src.
25
+ follow: false
26
# If a file is already present at /etc/resolv.conf then just
27
# delete it.
28
force: true
- group: root
- mode: u=rw,g=r,o=r
29
- owner: root
30
path: /etc/resolv.conf
31
src: /run/systemd/resolve/stub-resolv.conf
32
state: link
0 commit comments