mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	fix dual when
This commit is contained in:
		
							parent
							
								
									25eb4acada
								
							
						
					
					
						commit
						f91c67ad58
					
				
					 1 changed files with 5 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,11 @@
 | 
			
		|||
- name: Get python dateutil
 | 
			
		||||
  package:
 | 
			
		||||
     name: python-dateutil
 | 
			
		||||
     name: '(( item }}'
 | 
			
		||||
     state: present
 | 
			
		||||
  when: py_captive_portal_install
 | 
			
		||||
  with_item:
 | 
			
		||||
     - python-dateutil
 | 
			
		||||
     - sqlite3
 | 
			
		||||
 | 
			
		||||
- name: Create directory for Captive Portal script
 | 
			
		||||
  file:
 | 
			
		||||
| 
						 | 
				
			
			@ -46,7 +49,6 @@
 | 
			
		|||
  shell: /usr/bin/iiab-uncatch
 | 
			
		||||
  when: py_captive_portal_install
 | 
			
		||||
     
 | 
			
		||||
  when: py_captive_portal_install
 | 
			
		||||
- name: Copy Captive Portal service file
 | 
			
		||||
  template:
 | 
			
		||||
    src: roles/network/templates/captive-portal/captive-portal.service.j2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue