Fallback to get_url

This commit is contained in:
2021-05-07 16:37:37 +12:00
parent b56c03a3c3
commit 02daa0b30c

View File

@@ -13,9 +13,11 @@
- name: Install check-mk-agent - name: Install check-mk-agent
block: block:
- name: Download the agent from Server - name: Download the agent from Server
shell: wget -O /tmp/check-mk-agent.rpm "{{ cmk_rpm_agent }}{{ cmk_auth }}" get_url:
args: url: "{{ cmk_rpm_agent }}{{ cmk_auth }}"
warn: no dest: /tmp/check-mk-agent.rpm
environment:
SSL_CERT_FILE: /etc/ssl/ca-bundle.crt
- name: Ensure check_mk_agent installed - name: Ensure check_mk_agent installed
command: /usr/bin/yum install --nogpgcheck -y /tmp/check-mk-agent.rpm command: /usr/bin/yum install --nogpgcheck -y /tmp/check-mk-agent.rpm