summaryrefslogtreecommitdiffstats
path: root/roles/openshift_certificate_expiry/examples/playbooks/easy-mode.yaml
blob: f322e7a515592aadec9773c788078ff728bab85c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
# This example playbook is great if you're just wanting to try the
# role out.
#
# This example enables HTML and JSON reports
#
# The warning window is set very large so you will almost always get results back
#
# All certificates (healthy or not) are included in the results

- 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
    openshift_certificate_expiry_generate_html_report: yes
    openshift_certificate_expiry_show_all: yes
 roles:
    - role: openshift_certificate_expiry