Browse Source

certificate_expiry: gather facts so ansible_date_time is defined

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1615711
Scott Dodson 6 năm trước cách đây
mục cha
commit
654aec7919

+ 0 - 1
playbooks/openshift-checks/certificate_expiry/default.yaml

@@ -5,6 +5,5 @@
 - name: Check cert expirys
   hosts: nodes:masters:etcd
   become: yes
-  gather_facts: no
   roles:
     - role: openshift_certificate_expiry

+ 0 - 1
playbooks/openshift-checks/certificate_expiry/easy-mode-upload.yaml

@@ -11,7 +11,6 @@
 ---
 - name: Generate certificate expiration reports
   hosts: nodes:masters:etcd
-  gather_facts: no
   vars:
     openshift_certificate_expiry_save_json_results: yes
     openshift_certificate_expiry_generate_html_report: yes

+ 0 - 1
playbooks/openshift-checks/certificate_expiry/easy-mode.yaml

@@ -8,7 +8,6 @@
 
 - name: Check cert expirys
   hosts: nodes:masters:etcd
-  gather_facts: no
   vars:
     openshift_certificate_expiry_save_json_results: yes
     openshift_certificate_expiry_generate_html_report: yes

+ 0 - 1
playbooks/openshift-checks/certificate_expiry/html_and_json_default_paths.yaml

@@ -3,7 +3,6 @@
 
 - name: Check cert expirys
   hosts: nodes:masters:etcd
-  gather_facts: no
   vars:
     openshift_certificate_expiry_generate_html_report: yes
     openshift_certificate_expiry_save_json_results: yes

+ 0 - 1
playbooks/openshift-checks/certificate_expiry/html_and_json_timestamp.yaml

@@ -3,7 +3,6 @@
 
 - name: Check cert expirys
   hosts: nodes:masters:etcd
-  gather_facts: no
   vars:
     openshift_certificate_expiry_generate_html_report: yes
     openshift_certificate_expiry_save_json_results: yes

+ 0 - 1
playbooks/openshift-checks/certificate_expiry/longer-warning-period-json-results.yaml

@@ -4,7 +4,6 @@
 
 - name: Check cert expirys
   hosts: nodes:masters:etcd
-  gather_facts: no
   vars:
     openshift_certificate_expiry_warning_days: 1500
     openshift_certificate_expiry_save_json_results: yes

+ 0 - 1
playbooks/openshift-checks/certificate_expiry/longer_warning_period.yaml

@@ -4,7 +4,6 @@
 
 - name: Check cert expirys
   hosts: nodes:masters:etcd
-  gather_facts: no
   vars:
     openshift_certificate_expiry_warning_days: 1500
   roles: