| 
									
										
										
										
											2024-11-08 20:08:56 +01:00
										 |  |  | ---
 | 
					
						
							|  |  |  | - name: enable pf
 | 
					
						
							|  |  |  |   community.general.sysrc:
 | 
					
						
							|  |  |  |     name: pf_enable
 | 
					
						
							|  |  |  |     value: "YES"
 | 
					
						
							| 
									
										
										
										
											2024-11-22 18:43:35 +01:00
										 |  |  |     # FIXME: on first start causes the ansible connection to hang
 | 
					
						
							|  |  |  |     # notify: start pf
 | 
					
						
							| 
									
										
										
										
											2024-11-08 20:08:56 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | - name: enable pflog
 | 
					
						
							|  |  |  |   community.general.sysrc:
 | 
					
						
							|  |  |  |     name: pflog_enable
 | 
					
						
							|  |  |  |     value: "YES"
 | 
					
						
							|  |  |  |   notify: start pflog
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | - name: template pf.conf
 | 
					
						
							|  |  |  |   template:
 | 
					
						
							|  |  |  |     src: pf.conf.j2
 | 
					
						
							|  |  |  |     dest: /etc/pf.conf
 | 
					
						
							|  |  |  |   notify: reload pf
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | - meta: flush_handlers
 |