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

needed for dhcp now

This commit is contained in:
Jerry Vonau 2018-05-12 22:28:24 -05:00
parent 1082dd2aa4
commit aad974777a

View file

@ -30,8 +30,8 @@
- name: Static IP computing CIDR
shell: netmask {{ wan_ip }}/{{ wan_netmask }} | awk -F "/" '{print $2}'
when: wan_ip != "dhcp"
register: CIDR
when: wan_ip != "dhcp" or gui_static_wan_ip == "undefined"
# ICO will always set gui_static_wan_ip away from the default of 'unset' while
# gui_static_wan turns dhcp on/off through wan_ip in computed_network and