From 8ba56454ca8ba2aff7165518c909eb8154ee8698 Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Wed, 18 May 2016 15:31:53 -0300 Subject: 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. --- .../common/openshift-cluster/upgrades/v3_1_to_v3_2/docker_upgrade.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'playbooks/common') 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 + -- cgit v1.2.3