This commit is contained in:
admin_rb
2026-09-15 21:33:10 +02:00
parent 7c24c7ba7f
commit d095887d2e
118 changed files with 1655 additions and 21 deletions
+36
View File
@@ -0,0 +1,36 @@
---
- name: "Linux | Ensure local dir exists"
ansible.builtin.file:
path: "{{ checkmk_linux_local_dir }}"
state: directory
mode: "0755"
- name: "Linux | Ensure config dir exists"
ansible.builtin.file:
path: "{{ checkmk_linux_config_dir }}"
state: directory
mode: "0755"
- name: "Linux | Deploy UniFi local check"
when: is_unifi_controller | default(false) | bool
ansible.builtin.copy:
src: "{{ checkmk_linux_scripts_dir }}/check_unifi-controller.sh"
dest: "{{ checkmk_linux_local_dir }}/check_unifi-controller.sh"
mode: "0755"
notify: "checkmk | linux | agent-ensure-running"
- name: "Linux | Deploy unifi.cfg"
when: is_unifi_controller | default(false) | bool
ansible.builtin.copy:
src: "{{ checkmk_linux_scripts_dir }}/unifi.cfg"
dest: "{{ checkmk_linux_config_dir }}/unifi.cfg"
mode: "0644"
notify: "checkmk | linux | agent-ensure-running"
- name: "Linux | Deploy certificate directory check"
when: want_linux_check_certificate | default(false) | bool
ansible.builtin.copy:
src: "{{ checkmk_linux_scripts_dir }}/check_certificate_directory.sh"
dest: "{{ checkmk_linux_local_dir }}/check_certificate_directory.sh"
mode: "0755"
notify: "checkmk | linux | agent-ensure-running"