Skip to content

Instantly share code, notes, and snippets.

Simon Olofsson simono

View GitHub Profile
simono / .gitignore
Last active Dec 4, 2015
View .gitignore
simono / ansible-fix-resolv-conf
Last active Feb 24, 2017
Ansible example to fix the resolv.conf on Ubuntu/Debian Systems. See
View ansible-fix-resolv-conf
- 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
# Highlight a given file and copy it as RTF.
# Simon Olofsson <>
set -o errexit
set -o nounset
You can’t perform that action at this time.