Don't restart networking

This commit is contained in:
Austen Adler 2018-04-12 13:46:28 -04:00
parent 1369ee6d15
commit 8bf03bbed6

View File

@ -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