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 cc649fb commit b04457bCopy full SHA for b04457b
ansible/roles/tailscale/tasks/install.yml
@@ -6,10 +6,16 @@
6
line: "http://dl-2.alpinelinux.org/alpine/edge/community"
7
state: present
8
9
-- name: Install dhclient and tailscale
+# https://tailscale.com/kb/1188/linux-dns#dhcp-dhclient-overwriting-etcresolvconf
10
+- name: Disable overwriting resolv.conf
11
+ ansible.builtin.lineinfile:
12
+ dest: /etc/udhcpc/udhcpc.conf
13
+ regexp: "^#?RESOLV_CONF=\"no\""
14
+ line: "RESOLV_CONF=\"no\""
15
+ state: present
16
+
17
+- name: Install tailscale
18
ansible.builtin.package:
- name:
- - dhclient # https://tailscale.com/kb/1188/linux-dns#dhcp-dhclient-overwriting-etcresolvconf
- - tailscale
19
+ name: tailscale
20
state: latest
21
update_cache: yes
0 commit comments