Browse Source

Merge pull request #9430 from mgugino-upstream-stage/cert-output-report-file

Output cert check file to more sensible location
OpenShift Merge Robot 6 năm trước cách đây
mục cha
commit
127eaf8199
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      roles/openshift_certificate_expiry/defaults/main.yml

+ 2 - 2
roles/openshift_certificate_expiry/defaults/main.yml

@@ -3,7 +3,7 @@ openshift_certificate_expiry_config_base: "/etc/origin"
 openshift_certificate_expiry_warning_days: 365
 openshift_certificate_expiry_show_all: no
 openshift_certificate_expiry_generate_html_report: no
-openshift_certificate_expiry_html_report_path: "/tmp/cert-expiry-report.html"
+openshift_certificate_expiry_html_report_path: "{{ lookup('env', 'HOME') }}/cert-expiry-report.{{ ansible_date_time.iso8601_basic_short }}.html"
 openshift_certificate_expiry_save_json_results: no
-openshift_certificate_expiry_json_results_path: "/tmp/cert-expiry-report.json"
+openshift_certificate_expiry_json_results_path: "{{ lookup('env', 'HOME') }}/cert-expiry-report.{{ ansible_date_time.iso8601_basic_short }}.json"
 openshift_certificate_expiry_fail_on_warn: True