summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-05-15 15:35:42 -0500
committerGitHub <noreply@github.com>2017-05-15 15:35:42 -0500
commit15fd42020a0b5fee665c45cd23b9ba3bd152251d (patch)
treea71498b9d5ac71e7c9b5ec3a78c784660d64334b /playbooks
parent47771c9270d3d3dbee4cc7e350efec479f86ecfa (diff)
parent23927bfa8ee7b3d7053ab0ab2771b2954e4e267b (diff)
downloadopenshift-15fd42020a0b5fee665c45cd23b9ba3bd152251d.tar.gz
openshift-15fd42020a0b5fee665c45cd23b9ba3bd152251d.tar.bz2
openshift-15fd42020a0b5fee665c45cd23b9ba3bd152251d.tar.xz
openshift-15fd42020a0b5fee665c45cd23b9ba3bd152251d.zip
Merge pull request #4187 from giuseppe/uninstall-container-engine
Merged by openshift-bot
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/adhoc/uninstall.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index beaf20b07..6119990fe 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -305,8 +305,15 @@
- shell: systemctl daemon-reload
changed_when: False
+ - name: restart container-engine
+ service: name=container-engine state=restarted
+ ignore_errors: true
+ register: container_engine
+
- name: restart docker
service: name=docker state=restarted
+ ignore_errors: true
+ when: "container_engine.state != 'started'"
- name: restart NetworkManager
service: name=NetworkManager state=restarted