mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Update udev.yml
This commit is contained in:
		
							parent
							
								
									ada1355e12
								
							
						
					
					
						commit
						bed75d8c45
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -26,6 +26,12 @@
 | 
			
		|||
  shell: systemctl daemon-reload
 | 
			
		||||
  when: udev_unit.stat.exists is defined and udev_unit.stat.exists
 | 
			
		||||
 | 
			
		||||
# ubuntu 16.04 comes with ansible 2.0.0.2 -- no systemd module
 | 
			
		||||
- name: Ask systemd to recognize the changes (daemon-reloard)
 | 
			
		||||
  systemd:
 | 
			
		||||
    daemon_reload: yes
 | 
			
		||||
  when: udev_unit.stat.exists is defined and udev_unit.stat.exists
 | 
			
		||||
 | 
			
		||||
- name: Restart so systemd recognizes the changes
 | 
			
		||||
  shell: systemctl restart systemd-udevd.service
 | 
			
		||||
  when: udev_unit.stat.exists is defined and udev_unit.stat.exists
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue