Files
role-check-mk-agent/handlers/main.yml

23 lines
403 B
YAML
Raw Permalink Normal View History

2020-10-13 16:33:32 +13:00
---
# handlers file for ansible-role-cmk-agent
- name: restart xinetd
service:
name: xinetd
state: restarted
enabled: yes
- name: cmk fresh install
set_fact:
2020-10-15 14:23:17 +13:00
cmk_fresh_install: True
- name: ensure firewall open
firewalld:
port: 6556/tcp
state: enabled
permanent: yes
2020-11-26 15:37:47 +13:00
immediate: yes
- name: remove agent
file:
path: /tmp/check-mk-agent.rpm
state: absent