41 lines
		
	
	
	
		
			911 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			911 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| - name: enable interfaces
 | |
|   command: ifup --auto
 | |
|   when: "'handler' not in ansible_skip_tags"
 | |
| 
 | |
| - name: reboot
 | |
|   reboot:
 | |
|   when: "'handler' not in ansible_skip_tags"
 | |
| 
 | |
| - name: reload frr
 | |
|   command: /usr/lib/frr/frr-reload.py --reload /etc/frr/frr.conf
 | |
|   when: "'handler' not in ansible_skip_tags"
 | |
| 
 | |
| - name: reload nftables
 | |
|   service:
 | |
|     name: nftables
 | |
|     state: reloaded
 | |
|   when: "'handler' not in ansible_skip_tags"
 | |
| 
 | |
| - name: restart conntrackd
 | |
|   service:
 | |
|     name: conntrackd
 | |
|     state: restarted
 | |
|   when: "'handler' not in ansible_skip_tags"
 | |
| 
 | |
| - name: restart frr
 | |
|   service:
 | |
|     name: frr
 | |
|     state: restarted
 | |
|   when: "'handler' not in ansible_skip_tags"
 | |
| 
 | |
| - name: reload sshd.friwall
 | |
|   service:
 | |
|     name: sshd.friwall
 | |
|     state: reloaded
 | |
|   when: "'handler' not in ansible_skip_tags"
 | |
| 
 | |
| - name: restart sshd.friwall
 | |
|   service:
 | |
|     name: sshd.friwall
 | |
|     state: restarted
 | |
|   when: "'handler' not in ansible_skip_tags"
 |