Created
January 25, 2016 06:44
-
-
Save zoeyronain/62974b7fe2b6931d1e05 to your computer and use it in GitHub Desktop.
This file contains 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
--- | |
hosts: all | |
tasks: | |
- name: update nameservers | |
replace: dest=/etc/sysconfig/network-scripts/ifcfg-eno16777984 regexp=10.10.0.19 replace=10.10.3.1 | |
replace: dest=/etc/sysconfig/network-scripts/ifcfg-eno16777984 regexp=10.10.0.20 replace=10.10.3.2 | |
sudo: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment