chore: Linting 🚨
Some checks failed
CI / lint (push) Successful in 1m50s
CI / Molecule Test (almalinux8) (push) Failing after 2m36s
CI / Molecule Test (almalinux9) (push) Failing after 2m22s
CI / release (push) Has been skipped
CI / notify (push) Has been skipped

This commit is contained in:
2025-03-04 06:49:23 +13:00
parent 3edd1445b0
commit eda8282a35
6 changed files with 11 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
---
- include_tasks: host-management/{{ ansible_os_family}}/check.yml
- include_tasks: host-management/{{ ansible_os_family }}/check.yml
- name: Set facts # noqa jinja[spacing]
set_fact:
@@ -18,13 +18,13 @@
var: '{{ item }}'
with_items: [cmk_major, cmk_minor, cmk_patch, cmk_edition]
- include_tasks: host-management/{{ ansible_os_family}}/legacy.yml
- include_tasks: host-management/{{ ansible_os_family }}/legacy.yml
when: >
cmk_add_host and
(cmk_major | int <= 2 and
cmk_minor | int < 2 or cmk_force_install)
- include_tasks: host-management/{{ ansible_os_family}}/modern.yml
- include_tasks: host-management/{{ ansible_os_family }}/modern.yml
when: >-
cmk_add_host and
(cmk_major | int >= 2 and