You've already forked role-check-mk-agent
Fallback to get_url
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user