From 2de6c9efadc3a4e7e736b1e90991278a2dc605f3 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Fri, 7 May 2021 15:33:22 +1200 Subject: [PATCH] Make cert validation work --- tasks/RedHat.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/RedHat.yml b/tasks/RedHat.yml index 3331c43..081ffc8 100644 --- a/tasks/RedHat.yml +++ b/tasks/RedHat.yml @@ -16,7 +16,9 @@ get_url: url: "{{ cmk_rpm_agent }}{{ cmk_auth }}" dest: /tmp/check-mk-agent.rpm - + environment: + SSL_CERT_FILE: /etc/ssl/ca-bundle.crt + - name: Ensure check_mk_agent installed command: /usr/bin/yum install --nogpgcheck -y /tmp/check-mk-agent.rpm args: