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:
parent
20988fda38
commit
e94077fc3d
1 changed files with 19 additions and 15 deletions
|
@ -17,14 +17,17 @@
|
|||
dhcp_good: False
|
||||
|
||||
# don't shoot ourselves in the foot....
|
||||
- name: Disable dhcp server just because
|
||||
service: name=dhcpd state=stopped
|
||||
- name: Disable dhcpd server just because
|
||||
service:
|
||||
name: dhcpd
|
||||
state: stopped
|
||||
|
||||
### clear all connections first
|
||||
# We should have the LAN torndown at this point.
|
||||
|
||||
- name: No ifcfg-WAN known
|
||||
debug: msg="NO WAN known"
|
||||
debug:
|
||||
msg: "NO WAN known"
|
||||
when: not has_WAN
|
||||
|
||||
- name: Finding connection name for WiFi AP gateway first
|
||||
|
@ -57,7 +60,8 @@
|
|||
when: has_WAN
|
||||
|
||||
- name: BAD ifcfg-WAN
|
||||
debug: msg="BAD WAN"
|
||||
debug:
|
||||
msg: "BAD WAN"
|
||||
when: dhcp_WAN is defined and dhcp_WAN|failed
|
||||
|
||||
- name: Delete ifcfg-WAN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue