summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd/redeploy-certificates.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/openshift-etcd/redeploy-certificates.yml')
-rw-r--r--playbooks/openshift-etcd/redeploy-certificates.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/openshift-etcd/redeploy-certificates.yml b/playbooks/openshift-etcd/redeploy-certificates.yml
new file mode 100644
index 000000000..1bd302c03
--- /dev/null
+++ b/playbooks/openshift-etcd/redeploy-certificates.yml
@@ -0,0 +1,10 @@
+---
+- include: ../init/main.yml
+
+- include: private/redeploy-certificates.yml
+
+- include: private/restart.yml
+ vars:
+ g_etcd_certificates_expired: "{{ ('expired' in (hostvars | oo_select_keys(groups['etcd']) | oo_collect('check_results.check_results.etcd') | oo_collect('health'))) | bool }}"
+
+- include: ../openshift-master/private/restart.yml