summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-health.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-18 22:59:31 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-18 22:59:31 +0100
commit47f350bc3aa85a8bd406d95faf084df2abf74ae9 (patch)
tree72ad1e91bac46d3457f89781dc90f0d6c1c074d5 /playbooks/openshift-health.yml
parent006f333828db373435daa15483d2ab753048f62a (diff)
downloadands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.tar.gz
ands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.tar.bz2
ands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.tar.xz
ands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.zip
Second revision: includes hostpath mounts, gluster block storage, kaas apps, etc.
Diffstat (limited to 'playbooks/openshift-health.yml')
-rw-r--r--playbooks/openshift-health.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/playbooks/openshift-health.yml b/playbooks/openshift-health.yml
new file mode 100644
index 0000000..e645d02
--- /dev/null
+++ b/playbooks/openshift-health.yml
@@ -0,0 +1,19 @@
+- name: Configure cluster hosts names
+ hosts: nodes:new_nodes
+ roles:
+ - { role: ands_facts }
+
+
+- import_playbook: ../anslib/openshift-ansible/playbooks/openshift-checks/health.yml
+
+- name: Check cert expirys
+ hosts: nodes:masters:etcd
+ become: yes
+ gather_facts: no
+ vars:
+ openshift_certificate_expiry_save_json_results: no
+ openshift_certificate_expiry_generate_html_report: yes
+ openshift_certificate_expiry_html_report_path: reports/certs.html
+ openshift_certificate_expiry_show_all: yes
+ roles:
+ - role: openshift_certificate_expiry