summaryrefslogtreecommitdiffstats
path: root/playbooks/certificate_expiry/longer-warning-period-json-results.yaml
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2017-02-09 09:47:30 -0800
committerTim Bielawa <tbielawa@redhat.com>2017-02-09 09:48:27 -0800
commit27e341dae69dc5b796616bee591e34a87d144e4b (patch)
tree3c839bbfa6e7c139a832418d302486eba12d9bdd /playbooks/certificate_expiry/longer-warning-period-json-results.yaml
parentfc96d8d22f6c277b599e6e2fa4e9cc06814a9460 (diff)
downloadopenshift-27e341dae69dc5b796616bee591e34a87d144e4b.tar.gz
openshift-27e341dae69dc5b796616bee591e34a87d144e4b.tar.bz2
openshift-27e341dae69dc5b796616bee591e34a87d144e4b.tar.xz
openshift-27e341dae69dc5b796616bee591e34a87d144e4b.zip
Make the cert expiry playbooks runnable
Diffstat (limited to 'playbooks/certificate_expiry/longer-warning-period-json-results.yaml')
-rw-r--r--playbooks/certificate_expiry/longer-warning-period-json-results.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/certificate_expiry/longer-warning-period-json-results.yaml b/playbooks/certificate_expiry/longer-warning-period-json-results.yaml
new file mode 100644
index 000000000..87a0f3be4
--- /dev/null
+++ b/playbooks/certificate_expiry/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