mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 02:41:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			322 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			322 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| 
 | |
| - name:  Handle miniflux port in the firewall
 | |
|   iptables_raw:
 | |
|     name: miniflux_port
 | |
|     state: "{{ (miniflux_src_ip | length > 0) | ternary('present','absent') }}"
 | |
|     rules: "-A INPUT -m state --state NEW -p tcp --dport {{ miniflux_port }} -s {{ miniflux_src_ip | join(',') }} -j ACCEPT"
 | |
|   tags: firewall,miniflux
 | 
