The container doesn't have sudo, so become should be set in the inventory if necessary
@@ -8,7 +8,6 @@
- name: Check cert expirys
hosts: nodes:masters:etcd
- become: yes
gather_facts: no
vars:
openshift_certificate_expiry_save_json_results: yes
@@ -3,7 +3,6 @@
openshift_certificate_expiry_generate_html_report: yes
@@ -4,7 +4,6 @@
openshift_certificate_expiry_warning_days: 1500