summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/check-cert-expiry.yaml
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-10-05 15:38:43 -0700
committerTim Bielawa <tbielawa@redhat.com>2016-10-20 07:49:40 -0700
commit5f7f6a6023c470337f0d879f55eb619fd63e2dbe (patch)
tree2f8340adf8da5d5e19ca98c4aa687edc6265c838 /playbooks/common/openshift-cluster/check-cert-expiry.yaml
parent931499b7cf9d4e03f2dcd4449650986d31886362 (diff)
downloadopenshift-5f7f6a6023c470337f0d879f55eb619fd63e2dbe.tar.gz
openshift-5f7f6a6023c470337f0d879f55eb619fd63e2dbe.tar.bz2
openshift-5f7f6a6023c470337f0d879f55eb619fd63e2dbe.tar.xz
openshift-5f7f6a6023c470337f0d879f55eb619fd63e2dbe.zip
Support etcd certs now. Fix lint. Generate HTML report.
Diffstat (limited to 'playbooks/common/openshift-cluster/check-cert-expiry.yaml')
-rw-r--r--playbooks/common/openshift-cluster/check-cert-expiry.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/check-cert-expiry.yaml b/playbooks/common/openshift-cluster/check-cert-expiry.yaml
index e160383af..b585fd849 100644
--- a/playbooks/common/openshift-cluster/check-cert-expiry.yaml
+++ b/playbooks/common/openshift-cluster/check-cert-expiry.yaml
@@ -34,4 +34,11 @@
- name: Check cert expirys on host
openshift_cert_expiry:
warning_days: 1500
- show_all: true
+ register: check_results
+ - name: Generate html
+ become: no
+ run_once: yes
+ template:
+ src: templates/cert-expiry-table.html.j2
+ dest: /tmp/cert-table.html
+ delegate_to: localhost