mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	record
This commit is contained in:
		
							parent
							
								
									3ae4627956
								
							
						
					
					
						commit
						e63028f8ee
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -14,6 +14,16 @@
 | 
			
		|||
    - wpa_supplicant
 | 
			
		||||
  when: wifi_up_down and hostapd_enabled
 | 
			
		||||
 | 
			
		||||
- name: Record host_country_code_applied in network of iiab_ini_file
 | 
			
		||||
  ini_file:
 | 
			
		||||
    dest: "{{ iiab_ini_file }}"    # /etc/iiab/iiab.ini
 | 
			
		||||
    section: network
 | 
			
		||||
    option: "{{ item.option }}"
 | 
			
		||||
    value: "{{ item.value | string }}"
 | 
			
		||||
  with_items:
 | 
			
		||||
    - option: host_country_code_applied
 | 
			
		||||
      value: "{{ host_country_code }}"
 | 
			
		||||
 | 
			
		||||
- name: Create /etc/hostapd/hostapd.conf and backup .iiab from template if needed
 | 
			
		||||
  template:
 | 
			
		||||
    owner: root
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue