blob: b78209055efc6921b7b942980bd20a32b750ee30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
- name: Check cert expirys on host
openshift_cert_expiry:
warning_days: "{{ openshift_certificate_expiry_warning_days|int }}"
config_base: "{{ openshift_certificate_expiry_config_base }}"
show_all: "{{ openshift_certificate_expiry_show_all|bool }}"
register: check_results
- name: Generate expiration report HTML
become: no
run_once: yes
template:
src: cert-expiry-table.html.j2
dest: "{{ openshift_certificate_expiry_html_report_path }}"
delegate_to: localhost
when: "{{ openshift_certificate_expiry_generate_html_report|bool }}"
- name: Generate expiration results JSON
become: no
run_once: yes
template:
src: save_json_results.j2
dest: "{{ openshift_certificate_expiry_json_results_path }}"
delegate_to: localhost
when: "{{ openshift_certificate_expiry_save_json_results|bool }}"
|