snapshot
This commit is contained in:
@@ -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"
|
||||
@@ -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'
|
||||
@@ -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"
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user