1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

clean Ansible output

This commit is contained in:
A Holt 2017-10-27 12:15:10 -04:00 committed by GitHub
parent 4a76c927ce
commit 3ee4beda19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
- name: Turn off isp nameservers - name: Turn off ISP nameservers
lineinfile: state=present lineinfile: state=present
backrefs=yes backrefs=yes
regexp='^PEERDNS' regexp='^PEERDNS'
@ -34,9 +34,9 @@
dest={{ has_ifcfg_gw }} dest={{ has_ifcfg_gw }}
when: iiab_wan_iface != "none" and has_wifi_gw == "none" when: iiab_wan_iface != "none" and has_wifi_gw == "none"
- name: add marker - name: Add marker
lineinfile: state=present lineinfile: state=present
line="# Modified by XSCE" line="# Modified by IIAB"
dest={{ has_ifcfg_gw }} dest={{ has_ifcfg_gw }}
- name: Rename supplied gateway ifcfg file to WAN if present - name: Rename supplied gateway ifcfg file to WAN if present