restart systemd after after linking dns
This commit is contained in:
		
							parent
							
								
									04bd0afbb6
								
							
						
					
					
						commit
						ae5855f4d9
					
				@ -50,6 +50,11 @@
 | 
			
		||||
        state: link
 | 
			
		||||
        force: yes
 | 
			
		||||
    
 | 
			
		||||
    - name: Restart systemd-resolved to apply DNS changes
 | 
			
		||||
      systemd:
 | 
			
		||||
        name: systemd-resolved
 | 
			
		||||
        state: restarted
 | 
			
		||||
 | 
			
		||||
    - name: Inform user
 | 
			
		||||
      debug:
 | 
			
		||||
        msg: "DNS now points to {{ incus_dns_ip }}. systemd-resolved is active with ~incus search domain."
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user