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

Update redetect.yml

This commit is contained in:
A Holt 2018-10-08 18:34:16 -04:00 committed by GitHub
parent 20988fda38
commit e94077fc3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,14 +17,17 @@
dhcp_good: False dhcp_good: False
# don't shoot ourselves in the foot.... # don't shoot ourselves in the foot....
- name: Disable dhcp server just because - name: Disable dhcpd server just because
service: name=dhcpd state=stopped service:
name: dhcpd
state: stopped
### clear all connections first ### clear all connections first
# We should have the LAN torndown at this point. # We should have the LAN torndown at this point.
- name: No ifcfg-WAN known - name: No ifcfg-WAN known
debug: msg="NO WAN known" debug:
msg: "NO WAN known"
when: not has_WAN when: not has_WAN
- name: Finding connection name for WiFi AP gateway first - name: Finding connection name for WiFi AP gateway first
@ -57,7 +60,8 @@
when: has_WAN when: has_WAN
- name: BAD ifcfg-WAN - name: BAD ifcfg-WAN
debug: msg="BAD WAN" debug:
msg: "BAD WAN"
when: dhcp_WAN is defined and dhcp_WAN|failed when: dhcp_WAN is defined and dhcp_WAN|failed
- name: Delete ifcfg-WAN - name: Delete ifcfg-WAN