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;'
|
line: 'prepend domain-name-servers 1.0.0.1;'
|
||||||
become: yes
|
become: yes
|
||||||
register: changed_dns
|
register: changed_dns
|
||||||
- name: Restart networking
|
#- name: Restart networking
|
||||||
service:
|
# service:
|
||||||
name: network
|
# name: network
|
||||||
state: restarted
|
# state: restarted
|
||||||
become: yes
|
# become: yes
|
||||||
when: changed_dns.changed
|
# when: changed_dns.changed
|
||||||
|
Loading…
Reference in New Issue
Block a user