Don't restart networking
This commit is contained in:
parent
1369ee6d15
commit
8bf03bbed6
@ -7,9 +7,9 @@
|
||||
line: 'prepend domain-name-servers 1.0.0.1;'
|
||||
become: yes
|
||||
register: changed_dns
|
||||
- name: Restart networking
|
||||
service:
|
||||
name: network
|
||||
state: restarted
|
||||
become: yes
|
||||
when: changed_dns.changed
|
||||
#- name: Restart networking
|
||||
# service:
|
||||
# name: network
|
||||
# state: restarted
|
||||
# become: yes
|
||||
# when: changed_dns.changed
|
||||
|
Loading…
Reference in New Issue
Block a user