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:
		
							parent
							
								
									1082dd2aa4
								
							
						
					
					
						commit
						aad974777a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue