ansible/roles/checkmk-agent/tasks/main.yml

20 lines
431 B
YAML

---
- name: Download Check_MK Agent
get_url:
dest: /opt/check-mk-agent_1.4.0p33-1_all.deb
mode: 0755
validate_certs: no
url: https://forseti.binary.kitchen/bk/check_mk/agents/check-mk-agent_1.4.0p33-1_all.deb
- name: Install Check_MK Agent dependencies
apt: name={{ item }}
with_items:
- xinetd
- name: Install Check_MK Agent
apt:
deb: "/opt/check-mk-agent_1.4.0p33-1_all.deb"
state: present