Created
April 24, 2018 17:37
-
-
Save goneri/b75e6ab33574071de756cb5f9efc80d8 to your computer and use it in GitHub Desktop.
Clean the resolv.conf after a VPN connection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ansible localhost -b -m lineinfile -a "path=/etc/resolv.conf regexp='(^nameserver 100\.|delllab)' state=absent" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment