]> git.phdru.name Git - ansible.git/commitdiff
Feat(openvpn): Install `resolvconf`
authorOleg Broytman <phd@phdru.name>
Tue, 21 Apr 2020 16:49:47 +0000 (19:49 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 21 Apr 2020 16:49:47 +0000 (19:49 +0300)
`resolvconf` is required to update `/etc/resolv.conf`
in the case when a server pushes DNS servers.

playbooks/roles/openvpn/tasks/main.yml

index 6cc6296e606d7b441b4f09444ddefb5e844eba55..527e0ee8e374d0fe207292ae9a1050a3e2d36c94 100644 (file)
@@ -5,7 +5,7 @@
     autoremove: yes
     cache_valid_time: 3600
     install_recommends: no
-    name: ['openvpn']
+    name: ['openvpn', 'resolvconf']
     state: latest
     update_cache: yes
   when: ansible_facts.os_family == 'Debian'