summaryrefslogtreecommitdiffstats
path: root/roles/openshift_certificate_expiry/examples/playbooks/longer-warning-period-json-results.yaml
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2017-01-13 10:38:41 -0800
committerTim Bielawa <tbielawa@redhat.com>2017-01-17 08:58:56 -0800
commitd7bf06b2c474120cb2e183d2c889662c1270bf04 (patch)
tree40520acf2adbd88fa1fe959f8de04676ffe2a0d3 /roles/openshift_certificate_expiry/examples/playbooks/longer-warning-period-json-results.yaml
parent1236604d2ddd835ab8559cbf632481a8a21e9bea (diff)
downloadopenshift-d7bf06b2c474120cb2e183d2c889662c1270bf04.tar.gz
openshift-d7bf06b2c474120cb2e183d2c889662c1270bf04.tar.bz2
openshift-d7bf06b2c474120cb2e183d2c889662c1270bf04.tar.xz
openshift-d7bf06b2c474120cb2e183d2c889662c1270bf04.zip
[Cert Expiry] Add serial numbers, include example PBs, docs
* Now includes cert serial numbers in JSON and HTML output * Docs are updated with explicit usage instructions * Each example playbook includes a link to the playbook and an example of how to run it * A graphic and copy of an HTML report are now included * Example JSON output has been updated
Diffstat (limited to 'roles/openshift_certificate_expiry/examples/playbooks/longer-warning-period-json-results.yaml')
-rw-r--r--roles/openshift_certificate_expiry/examples/playbooks/longer-warning-period-json-results.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/openshift_certificate_expiry/examples/playbooks/longer-warning-period-json-results.yaml b/roles/openshift_certificate_expiry/examples/playbooks/longer-warning-period-json-results.yaml
new file mode 100644
index 000000000..87a0f3be4
--- /dev/null
+++ b/roles/openshift_certificate_expiry/examples/playbooks/longer-warning-period-json-results.yaml
@@ -0,0 +1,13 @@
+---
+# Change the expiration warning window to 1500 days (good for testing
+# the module out) and save the results as a JSON file:
+
+- name: Check cert expirys
+ hosts: nodes:masters:etcd
+ become: yes
+ gather_facts: no
+ vars:
+ openshift_certificate_expiry_warning_days: 1500
+ openshift_certificate_expiry_save_json_results: yes
+ roles:
+ - role: openshift_certificate_expiry