Skip to content

Commit

Permalink
deploy mrpe
Browse files Browse the repository at this point in the history
  • Loading branch information
zerwes committed Nov 11, 2024
1 parent 6bf54d8 commit e815d87
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,23 @@
with_dict: "{{ opn_check_mk_additional_files }}"
when: opn_install_check_mk

- name: create {{ opn_check_mk_conf_dir }}
ansible.builtin.file:
path: "{{ opn_check_mk_conf_dir }}"
state: directory
mode: 0755
when:
- opn_install_check_mk

- name: deploy mrpe.cfg
ansible.builtin.template:
src: mrpe.cfg.j2
dest: "{{ opn_check_mk_conf_dir }}/mrpe.cfg"
mode: "0644"
when:
- opn_install_check_mk
- opn_check_mk_mrpe_checks

- name: enable check_mk_agent in /etc/inetd.conf
ansible.builtin.lineinfile:
path: /etc/inetd.conf
Expand Down

0 comments on commit e815d87

Please sign in to comment.