summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd/redeploy-certificates.yml
blob: 202acb4938027ac66d8a3c7f2f79a751813cc7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- import_playbook: ../init/main.yml
  vars:
    skip_version: True
    l_openshift_version_set_hosts: "all:!all"
    l_openshift_version_check_hosts: "all:!all"
    l_init_fact_hosts: "oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config"
    l_sanity_check_hosts: "{{ groups['oo_etcd_to_config'] | union(groups['oo_masters_to_config']) }}"

- import_playbook: private/redeploy-certificates.yml

- import_playbook: private/restart.yml
  vars:
    g_etcd_certificates_expired: "{{ ('expired' in (hostvars | lib_utils_oo_select_keys(groups['etcd']) | lib_utils_oo_collect('check_results.check_results.etcd') | lib_utils_oo_collect('health'))) | bool }}"

- import_playbook: ../openshift-master/private/restart.yml