firewall: use a handler to reboot
This commit is contained in:
		
							parent
							
								
									0e9dac6985
								
							
						
					
					
						commit
						668af8bdb6
					
				
					 2 changed files with 8 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -6,6 +6,10 @@
 | 
			
		|||
  command: mkinitfs
 | 
			
		||||
  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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue