aim-web2.1.0rc9

This commit is contained in:
admin_rb
2026-09-22 19:23:17 +02:00
parent d095887d2e
commit 3dfc80b782
438 changed files with 31613 additions and 1510 deletions
+24 -7
View File
@@ -1,11 +1,28 @@
---
- 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"
- name: Checkmk | Verify staged package on controller
ansible.builtin.stat:
path: '{{ checkmk_agent_files_dir }}/{{ checkmk_msi_filename }}'
delegate_to: localhost
become: false
register: _checkmk_package
- name: Checkmk | Require staged package
ansible.builtin.assert:
that:
- _checkmk_package.stat.isreg | default(false)
- _checkmk_package.stat.size | default(0) | int > 0
fail_msg: Required agent package is absent/empty. Use AIM Maintenance to download packages first.
quiet: true
- name: Windows | Ensure temp dir exists
ansible.windows.win_file:
path: '{{ checkmk_windows_tmp_path }}'
state: directory
- name: Windows | Copy Checkmk agent MSI from role files
ansible.windows.win_copy:
src: '{{ checkmk_agent_files_dir }}/{{ 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 }}"
path: '{{ checkmk_windows_tmp_path }}\{{ checkmk_msi_filename }}'
state: present
notify: "checkmk | windows | agent-ensure-running"
register: _checkmk_package_install