mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	cleaner Ansible output
This commit is contained in:
		
							parent
							
								
									052305979f
								
							
						
					
					
						commit
						68cd077b40
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
# supply an ifcfg if no gateway detected but wan_ip is set
 | 
			
		||||
# set user_wan_iface: <device> and use wan_* for static info
 | 
			
		||||
- name: Supply wan interface file
 | 
			
		||||
- name: Supply WAN interface file
 | 
			
		||||
  template: src=network/ifcfg-WAN.j2
 | 
			
		||||
            dest=/etc/sysconfig/network-scripts/ifcfg-WAN
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -12,7 +12,7 @@
 | 
			
		|||
  ignore_errors: yes
 | 
			
		||||
  when: 'ansible_distribution_version >= "21" and wan_ip != "dhcp"'
 | 
			
		||||
 | 
			
		||||
- name: use upstream nameserver until named is installed
 | 
			
		||||
- name: Use upstream nameserver until named is installed
 | 
			
		||||
  lineinfile: dest=/etc/resolv.conf
 | 
			
		||||
              line='nameserver {{ wan_nameserver }}'
 | 
			
		||||
              create=yes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue