mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	vnstat - guard against iiab_lan_iface not defined in Appliance Mode
This commit is contained in:
		
							parent
							
								
									7b92914019
								
							
						
					
					
						commit
						d8a57c15a1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -19,7 +19,7 @@
 | 
			
		|||
 | 
			
		||||
- name: Create database for LAN to collect vnStat data if not appliance config
 | 
			
		||||
  shell: /usr/bin/vnstat -i {{ iiab_lan_iface }}
 | 
			
		||||
  when: not iiab_lan_iface == ""
 | 
			
		||||
  when: iiab_lan_iface is defined
 | 
			
		||||
 | 
			
		||||
- name: Start vnStat daemon via systemd
 | 
			
		||||
  service: name=vnstat enabled=yes state=started
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue