redeploy-certificates.yml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. ---
  2. - import_playbook: init/main.yml
  3. - import_playbook: openshift-etcd/private/redeploy-certificates.yml
  4. - import_playbook: openshift-master/private/redeploy-certificates.yml
  5. - import_playbook: openshift-node/private/redeploy-certificates.yml
  6. - import_playbook: openshift-etcd/private/restart.yml
  7. vars:
  8. 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 }}"
  9. - import_playbook: openshift-master/private/restart.yml
  10. - import_playbook: openshift-node/private/restart.yml
  11. - import_playbook: openshift-hosted/private/redeploy-router-certificates.yml
  12. when: openshift_hosted_manage_router | default(true) | bool
  13. - import_playbook: openshift-hosted/private/redeploy-registry-certificates.yml
  14. when: openshift_hosted_manage_registry | default(true) | bool
  15. - import_playbook: openshift-master/private/revert-client-ca.yml
  16. - import_playbook: openshift-master/private/restart.yml
  17. - import_playbook: openshift-web-console/private/redeploy-certificates.yml
  18. when: openshift_web_console_install | default(true) | bool