redeploy-certificates.yml 695 B

123456789101112131415
  1. ---
  2. - import_playbook: ../init/main.yml
  3. vars:
  4. l_openshift_version_set_hosts: "all:!all"
  5. l_openshift_version_check_hosts: "all:!all"
  6. l_init_fact_hosts: "oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config"
  7. l_sanity_check_hosts: "{{ groups['oo_etcd_to_config'] | union(groups['oo_masters_to_config']) }}"
  8. - import_playbook: private/redeploy-certificates.yml
  9. - import_playbook: private/restart.yml
  10. vars:
  11. 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 }}"
  12. - import_playbook: ../openshift-master/private/restart.yml