mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	fix proper runtags support
This commit is contained in:
		
							parent
							
								
									41c697233c
								
							
						
					
					
						commit
						9efac92148
					
				
					 3 changed files with 14 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -52,6 +52,6 @@ dhcpd_install: True
 | 
			
		|||
dhcpd_enabled: True
 | 
			
		||||
named_install: True
 | 
			
		||||
named_enabled: True
 | 
			
		||||
dnsmasq_install: True
 | 
			
		||||
dnsmasq_enabled: False
 | 
			
		||||
dnsmasq_install: False
 | 
			
		||||
captive_portal_enabled: False
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -66,7 +66,7 @@
 | 
			
		|||
- name: Create xs_httpcache flag
 | 
			
		||||
  shell: echo 1 > /etc/sysconfig/xs_httpcache_on
 | 
			
		||||
         creates=/etc/sysconfig/xs_httpcache_on
 | 
			
		||||
  when: squid_enabled
 | 
			
		||||
  when: squid_enabled and squid_install
 | 
			
		||||
 | 
			
		||||
- name: Enable Squid service
 | 
			
		||||
  service: name={{ proxy }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -103,11 +103,19 @@
 | 
			
		|||
- include: computed_services.yml
 | 
			
		||||
  tags:
 | 
			
		||||
    - network
 | 
			
		||||
    - named
 | 
			
		||||
    - dhcpd
 | 
			
		||||
    - dnsmasq
 | 
			
		||||
    - squid
 | 
			
		||||
 | 
			
		||||
# templates needed from above install section live here
 | 
			
		||||
- include: enable_services.yml
 | 
			
		||||
  tags:
 | 
			
		||||
    - network
 | 
			
		||||
    - named
 | 
			
		||||
    - dhcpd
 | 
			
		||||
    - dnsmasq
 | 
			
		||||
    - squid
 | 
			
		||||
 | 
			
		||||
- include: hostapd.yml
 | 
			
		||||
  tags:
 | 
			
		||||
| 
						 | 
				
			
			@ -140,4 +148,8 @@
 | 
			
		|||
  when: not installing
 | 
			
		||||
  tags:
 | 
			
		||||
    - network
 | 
			
		||||
    - named
 | 
			
		||||
    - dhcpd
 | 
			
		||||
    - dnsmasq
 | 
			
		||||
    - squid
 | 
			
		||||
#### end services
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue