Fix firewalld configuration during installation.
This commit is contained in:
		
							parent
							
								
									c78cff8200
								
							
						
					
					
						commit
						c6ac5fec0f
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -30,5 +30,11 @@
 | 
				
			||||||
    permanent: yes
 | 
					    permanent: yes
 | 
				
			||||||
    immediate: yes
 | 
					    immediate: yes
 | 
				
			||||||
    state: enabled
 | 
					    state: enabled
 | 
				
			||||||
 | 
					  when: not run_in_installer|default(false)|bool
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: allow apt-cacher-ng service in firewalld, offline
 | 
				
			||||||
 | 
					  command: "firewall-offline-cmd --zone=internal --add-port=3142/tcp"
 | 
				
			||||||
 | 
					  when: run_in_installer|default(false)|bool
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- meta: flush_handlers
 | 
					- meta: flush_handlers
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue