diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2017-11-17 15:38:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-17 15:38:34 -0800 |
commit | b4a294841e063784afe32c289bf3fd6410edc6d6 (patch) | |
tree | b0d6435b8846f95ce836d4fb78100ea509d60b21 /playbooks/openshift-checks/certificate_expiry/html_and_json_timestamp.yaml | |
parent | 9e97038fe0dbd6aa842a260ccc10b35f7aefe787 (diff) | |
parent | 9f2de18076bbec19116351a7a3552d4fd2f6790a (diff) | |
download | openshift-b4a294841e063784afe32c289bf3fd6410edc6d6.tar.gz openshift-b4a294841e063784afe32c289bf3fd6410edc6d6.tar.bz2 openshift-b4a294841e063784afe32c289bf3fd6410edc6d6.tar.xz openshift-b4a294841e063784afe32c289bf3fd6410edc6d6.zip |
Merge pull request #6147 from mtnbikenc/consolidate-openshift-checks
Automatic merge from submit-queue.
Playbook Consolidation - openshift-checks
- Create playbooks/openshift-checks directory
- Move everything from playbooks/byo/openshift-checks to playbooks/openshift-checks
- Move everything from playbooks/common/openshift-checks to playbooks/openshift-checks/private
- Fix all include path references throughout playbooks/
Trello: https://trello.com/c/2Rx1uvjz/547-2-playbook-consolidation-openshift-checks
Diffstat (limited to 'playbooks/openshift-checks/certificate_expiry/html_and_json_timestamp.yaml')
-rw-r--r-- | playbooks/openshift-checks/certificate_expiry/html_and_json_timestamp.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/playbooks/openshift-checks/certificate_expiry/html_and_json_timestamp.yaml b/playbooks/openshift-checks/certificate_expiry/html_and_json_timestamp.yaml new file mode 100644 index 000000000..2189455b7 --- /dev/null +++ b/playbooks/openshift-checks/certificate_expiry/html_and_json_timestamp.yaml @@ -0,0 +1,16 @@ +--- +# Generate timestamped HTML and JSON reports in /var/lib/certcheck + +- name: Check cert expirys + hosts: nodes:masters:etcd + become: yes + gather_facts: no + vars: + openshift_certificate_expiry_generate_html_report: yes + openshift_certificate_expiry_save_json_results: yes + openshift_certificate_expiry_show_all: yes + timestamp: "{{ lookup('pipe', 'date +%Y%m%d') }}" + openshift_certificate_expiry_html_report_path: "/var/lib/certcheck/{{ timestamp }}-cert-expiry-report.html" + openshift_certificate_expiry_json_results_path: "/var/lib/certcheck/{{ timestamp }}-cert-expiry-report.json" + roles: + - role: openshift_certificate_expiry |