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
+11
View File
@@ -0,0 +1,11 @@
---
- name: "Debian | Copy Checkmk agent package"
ansible.builtin.copy:
src: "{{ checkmk_deb_filename }}"
dest: "{{ checkmk_linux_tmp_path }}/{{ checkmk_deb_filename }}"
mode: "0644"
- name: "Debian | Install Checkmk agent"
ansible.builtin.apt:
deb: "{{ checkmk_linux_tmp_path }}/{{ checkmk_deb_filename }}"
notify: "checkmk | linux | agent-ensure-running"
+12
View File
@@ -0,0 +1,12 @@
---
- name: Include Debian installation
ansible.builtin.include_tasks: debian.yml
when: ansible_facts['os_family'] == 'Debian'
- name: Include RedHat installation
ansible.builtin.include_tasks: redhat.yml
when: ansible_facts['os_family'] == 'RedHat'
- name: Include Windows installation
ansible.builtin.include_tasks: windows.yml
when: ansible_facts['os_family'] == 'Windows'
+12
View File
@@ -0,0 +1,12 @@
---
- name: "RedHat | Copy Checkmk agent package"
ansible.builtin.copy:
src: "{{ checkmk_rpm_filename }}"
dest: "{{ checkmk_linux_tmp_path }}/{{ checkmk_rpm_filename }}"
mode: "0644"
- name: "RedHat | Install Checkmk agent"
ansible.builtin.package:
name: "{{ checkmk_linux_tmp_path }}/{{ checkmk_rpm_filename }}"
state: present
notify: "checkmk | linux | agent-ensure-running"
+11
View File
@@ -0,0 +1,11 @@
---
- name: "Windows | Copy Checkmk agent MSI"
ansible.windows.win_copy:
src: "{{ checkmk_msi_filename }}"
dest: "{{ checkmk_windows_tmp_path }}\\{{ checkmk_msi_filename }}"
- name: "Windows | Install Checkmk agent from local MSI"
ansible.windows.win_package:
path: "{{ checkmk_windows_tmp_path }}\\{{ checkmk_msi_filename }}"
state: present
notify: "checkmk | windows | agent-ensure-running"