redeploy-etcd-certificates.yml 647 B

123456789101112131415161718
  1. ---
  2. - include: ../../init/main.yml
  3. - include: ../../common/openshift-cluster/redeploy-certificates/check-expiry.yml
  4. vars:
  5. g_check_expiry_hosts: 'oo_etcd_to_config'
  6. - include: ../../common/openshift-cluster/redeploy-certificates/etcd-backup.yml
  7. - include: ../../common/openshift-etcd/certificates.yml
  8. vars:
  9. etcd_certificates_redeploy: true
  10. - include: ../../common/openshift-etcd/restart.yml
  11. vars:
  12. g_etcd_certificates_expired: "{{ ('expired' in (hostvars | oo_select_keys(groups['etcd']) | oo_collect('check_results.check_results.etcd') | oo_collect('health'))) | bool }}"
  13. - include: ../../common/openshift-master/restart.yml