Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Ansible example to fix the resolv.conf on Ubuntu/Debian Systems. See
- name: Configure resolvconf
sudo: yes
lineinfile: dest=/etc/resolvconf/resolv.conf.d/base line='options single-request-reopen'
- name: Update resolvconf
sudo: yes
command: resolvconf -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.