Skip to content
Snippets Groups Projects
Commit 2c984631 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible/playbooks/general#101 Install resolvconf and disable systemd.resolved

parent 86f8ca01
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,23 @@
group: root
mode: 0440
# Regarding resolve service, see https://www.ctrl.blog/entry/resolvconf-tutorial.html
- name: Install resolvconf
apt:
pkg: '{{ packages }}'
state: present
update_cache: yes
vars:
packages:
- resolvconf
- name: Disable systemd.resolved
service:
name: systemd-resolved
state: stopped
enabled: no
- name: Configure resolv.conf
template:
src: etc_resolv_conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment