You've already forked role-check-mk-agent
Use wget instead of Ansible Builtin
This commit is contained in:
@@ -11,13 +11,11 @@
|
||||
manager: "auto"
|
||||
|
||||
- name: Install check-mk-agent
|
||||
block:
|
||||
block:
|
||||
- name: Download the agent from Server
|
||||
get_url:
|
||||
url: "{{ cmk_rpm_agent }}{{ cmk_auth }}"
|
||||
dest: /tmp/check-mk-agent.rpm
|
||||
environment:
|
||||
SSL_CERT_FILE: /etc/ssl/ca-bundle.crt
|
||||
shell: wget -O /tmp/check-mk-agent.rpm "{{ cmk_rpm_agent }}{{ cmk_auth }}"
|
||||
args:
|
||||
warn: no
|
||||
|
||||
- name: Ensure check_mk_agent installed
|
||||
command: /usr/bin/yum install --nogpgcheck -y /tmp/check-mk-agent.rpm
|
||||
|
||||
Reference in New Issue
Block a user