summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Affolter <bliemli@users.noreply.github.com>2017-06-21 10:13:04 +0200
committerBenjamin Affolter <bliemli@users.noreply.github.com>2017-06-21 10:13:04 +0200
commitb09ee9185c7bfc090da27a02013dd0d2f8ed2220 (patch)
treebacfd6daf38ffe5b02cec2b2c34c46528d6011f5
parent62fcd88038910c52796f0e5b37e1e0d8019b80cf (diff)
downloadopenshift-b09ee9185c7bfc090da27a02013dd0d2f8ed2220.tar.gz
openshift-b09ee9185c7bfc090da27a02013dd0d2f8ed2220.tar.bz2
openshift-b09ee9185c7bfc090da27a02013dd0d2f8ed2220.tar.xz
openshift-b09ee9185c7bfc090da27a02013dd0d2f8ed2220.zip
Restart NetworkManager only if dnsmasq was used
-rw-r--r--playbooks/adhoc/uninstall.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index 27c3a9edd..ddd2ecebd 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -317,6 +317,7 @@
- name: restart NetworkManager
service: name=NetworkManager state=restarted
+ when: openshift_use_dnsmasq | default(true) | bool
- hosts: masters
become: yes