summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-05-18 15:31:53 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-05-18 15:31:53 -0300
commit8ba56454ca8ba2aff7165518c909eb8154ee8698 (patch)
tree3a12626809faaebae8481cfbfd603b674de58dea /playbooks/common/openshift-cluster
parent1826e93bcf2ba21f0c1c7368dffd091a8bfbf142 (diff)
downloadopenshift-8ba56454ca8ba2aff7165518c909eb8154ee8698.tar.gz
openshift-8ba56454ca8ba2aff7165518c909eb8154ee8698.tar.bz2
openshift-8ba56454ca8ba2aff7165518c909eb8154ee8698.tar.xz
openshift-8ba56454ca8ba2aff7165518c909eb8154ee8698.zip
Use systemctl restart docker instead of ansible service.
Ansible is doing a full service stop and then start, which does not allow systemd to keep the containerized services up and running. Switching to this will cause the related services to come back within a few seconds.
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/docker_upgrade.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/docker_upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/docker_upgrade.yml
index d9177e8a0..9ade795f2 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/docker_upgrade.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/docker_upgrade.yml
@@ -10,5 +10,6 @@
register: docker_upgrade
- name: Restart Docker
- service: name=docker state=restarted
+ command: systemctl restart docker
when: docker_upgrade | changed
+