소스 검색

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

Output cert check file to more sensible location
OpenShift Merge Robot 6 년 전
부모
커밋
127eaf8199
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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