summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/uninstall.yml
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-05-17 11:21:17 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-05-17 11:21:17 -0400
commitfcef48b82dca998eb1b87d4902331d29b8900026 (patch)
tree5701583bb91572d5c59ae564bb6af135800ffe98 /playbooks/adhoc/uninstall.yml
parentdbc331f77a08df52088ef72a138b6f4e3f654720 (diff)
downloadopenshift-fcef48b82dca998eb1b87d4902331d29b8900026.tar.gz
openshift-fcef48b82dca998eb1b87d4902331d29b8900026.tar.bz2
openshift-fcef48b82dca998eb1b87d4902331d29b8900026.tar.xz
openshift-fcef48b82dca998eb1b87d4902331d29b8900026.zip
Uninstall: restart docker when container-engine restart hasn't changed.
Diffstat (limited to 'playbooks/adhoc/uninstall.yml')
-rw-r--r--playbooks/adhoc/uninstall.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index 6119990fe..1c8257162 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -313,7 +313,7 @@
- name: restart docker
service: name=docker state=restarted
ignore_errors: true
- when: "container_engine.state != 'started'"
+ when: not (container_engine | changed)
- name: restart NetworkManager
service: name=NetworkManager state=restarted