redeploy-certificates.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. ---
  2. - include: initialize_groups.yml
  3. tags:
  4. - always
  5. - include: ../../common/openshift-cluster/std_include.yml
  6. tags:
  7. - always
  8. - include: ../../common/openshift-cluster/redeploy-certificates/check-expiry.yml
  9. vars:
  10. g_check_expiry_hosts: 'oo_etcd_to_config'
  11. - include: ../../common/openshift-cluster/redeploy-certificates/etcd.yml
  12. - include: ../../common/openshift-cluster/redeploy-certificates/masters.yml
  13. - include: ../../common/openshift-cluster/redeploy-certificates/nodes.yml
  14. - include: ../../common/openshift-etcd/restart.yml
  15. vars:
  16. g_etcd_certificates_expired: "{{ ('expired' in (hostvars | oo_select_keys(groups['etcd']) | oo_collect('check_results.check_results.etcd') | oo_collect('health'))) | bool }}"
  17. - include: ../../common/openshift-master/restart.yml
  18. - include: ../../common/openshift-node/restart.yml
  19. - include: ../../common/openshift-cluster/redeploy-certificates/router.yml
  20. when: openshift_hosted_manage_router | default(true) | bool
  21. - include: ../../common/openshift-cluster/redeploy-certificates/registry.yml
  22. when: openshift_hosted_manage_registry | default(true) | bool