summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster/redeploy-etcd-certificates.yml
blob: f9d12251f3ed210a27598be1fb6d72bad51566c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- include: ../../init/main.yml

- 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-backup.yml

- include: ../../openshift-etcd/private/certificates.yml
  vars:
    etcd_certificates_redeploy: true

- include: ../../openshift-etcd/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: ../../common/openshift-master/restart.yml