mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	network/tasks/main.yml: Swap order of iiab-hotspot-on|off & install.yml on @jvonau's request
This commit is contained in:
		
							parent
							
								
									e71efff7e2
								
							
						
					
					
						commit
						69aba8eec3
					
				
					 1 changed files with 8 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -21,10 +21,10 @@
 | 
			
		|||
- name: computed_network
 | 
			
		||||
  include_tasks: computed_network.yml
 | 
			
		||||
 | 
			
		||||
- name: Install network packages (including many WiFi tools, and also iptables-persistent for firewall)
 | 
			
		||||
  include_tasks: install.yml
 | 
			
		||||
  when: network_install and network_installed is undefined
 | 
			
		||||
 | 
			
		||||
# 2022-07-22: @jvonau asks for this to be (1) AFTER computed_network.yml [what
 | 
			
		||||
# goes into the 'hotspot' depends on what can_be_ap and wifi_up_down are set to]
 | 
			
		||||
# AND (2) BEFORE install.yml -- FYI Admin Console reads iiab_network_mode from
 | 
			
		||||
# /etc/iiab/iiab.ini and uses /usr/bin/iiab-hotspot-on|off.
 | 
			
		||||
- name: Install /usr/bin/iiab-hotspot-on|off from template (root:root by default)
 | 
			
		||||
  template:
 | 
			
		||||
    src: "{{ item }}"
 | 
			
		||||
| 
						 | 
				
			
			@ -34,6 +34,10 @@
 | 
			
		|||
    - hostapd/iiab-hotspot-on
 | 
			
		||||
    - hostapd/iiab-hotspot-off
 | 
			
		||||
 | 
			
		||||
- name: Install network packages (including many WiFi tools, and also iptables-persistent for firewall)
 | 
			
		||||
  include_tasks: install.yml
 | 
			
		||||
  when: network_install and network_installed is undefined
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
- name: Configuring Network if enabled
 | 
			
		||||
  block:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue