From dc6173e7bfa4170106b558b124c54ff26cdc8228 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Wed, 24 Jan 2018 12:43:20 -0500 Subject: Don't restart docker when re-deploying node certificates Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1537726 --- playbooks/openshift-node/private/restart.yml | 1 + playbooks/openshift-node/redeploy-certificates.yml | 2 ++ 2 files changed, 3 insertions(+) (limited to 'playbooks') diff --git a/playbooks/openshift-node/private/restart.yml b/playbooks/openshift-node/private/restart.yml index 7249ced70..7371bd7ac 100644 --- a/playbooks/openshift-node/private/restart.yml +++ b/playbooks/openshift-node/private/restart.yml @@ -16,6 +16,7 @@ until: not (l_docker_restart_docker_in_node_result is failed) retries: 3 delay: 30 + when: openshift_node_restart_docker_required | default(True) - name: Restart containerized services service: diff --git a/playbooks/openshift-node/redeploy-certificates.yml b/playbooks/openshift-node/redeploy-certificates.yml index 8b7272485..cdf816fbf 100644 --- a/playbooks/openshift-node/redeploy-certificates.yml +++ b/playbooks/openshift-node/redeploy-certificates.yml @@ -4,3 +4,5 @@ - import_playbook: private/redeploy-certificates.yml - import_playbook: private/restart.yml + vars: + openshift_node_restart_docker_required: False -- cgit v1.2.3