|
@@ -7,6 +7,10 @@
|
|
tags:
|
|
tags:
|
|
- always
|
|
- always
|
|
|
|
|
|
|
|
+- include: ../../common/openshift-cluster/redeploy-certificates/check-expiry.yml
|
|
|
|
+ vars:
|
|
|
|
+ g_check_expiry_hosts: 'oo_etcd_to_config'
|
|
|
|
+
|
|
- include: ../../common/openshift-cluster/redeploy-certificates/etcd.yml
|
|
- include: ../../common/openshift-cluster/redeploy-certificates/etcd.yml
|
|
|
|
|
|
- include: ../../common/openshift-cluster/redeploy-certificates/masters.yml
|
|
- include: ../../common/openshift-cluster/redeploy-certificates/masters.yml
|
|
@@ -14,6 +18,8 @@
|
|
- include: ../../common/openshift-cluster/redeploy-certificates/nodes.yml
|
|
- include: ../../common/openshift-cluster/redeploy-certificates/nodes.yml
|
|
|
|
|
|
- include: ../../common/openshift-etcd/restart.yml
|
|
- include: ../../common/openshift-etcd/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: ../../common/openshift-master/restart.yml
|
|
- include: ../../common/openshift-master/restart.yml
|
|
|
|
|