html_and_json_timestamp.yaml 626 B

1234567891011121314
  1. ---
  2. # Generate timestamped HTML and JSON reports in /var/lib/certcheck
  3. - name: Check cert expirys
  4. hosts: nodes:masters:etcd
  5. vars:
  6. openshift_certificate_expiry_generate_html_report: yes
  7. openshift_certificate_expiry_save_json_results: yes
  8. openshift_certificate_expiry_show_all: yes
  9. timestamp: "{{ lookup('pipe', 'date +%Y%m%d') }}"
  10. openshift_certificate_expiry_html_report_path: "/var/lib/certcheck/{{ timestamp }}-cert-expiry-report.html"
  11. openshift_certificate_expiry_json_results_path: "/var/lib/certcheck/{{ timestamp }}-cert-expiry-report.json"
  12. roles:
  13. - role: openshift_certificate_expiry