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;' 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