Compare commits

...

2 Commits

Author SHA1 Message Date
eda8282a35 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
2025-03-04 06:49:23 +13:00
3edd1445b0 chore(ci): Correct Dependencies ⬆️ 2025-03-04 06:47:47 +13:00
7 changed files with 16 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
ansible-core<2.17
ansible-compat<4
molecule[docker]<5.0.0
ansible-lint==6.16.2
yamllint==1.32.0
ansible-core==2.16.3
ansible-compat==4.1.11
molecule[docker]==24.2.1
ansible-lint==6.22.2
yamllint==1.35.1
passlib==1.7.4

View File

@@ -30,8 +30,9 @@
debug:
msg: "{{ msg.split('\n') }}"
when: cmk_debug
- name: Copy archive from samba_share. (No-Log)
command: >
shell: >
smbget 'smb:{{ (cmk_download_path + '/' + cmk_installer) | reslash }}' -U
'{{ cmk_smb_username }}%{{ cmk_smb_password }}'
args:
@@ -41,6 +42,7 @@
no_log: true # Turn off logging due to password exposure
when: not cmk_debug | bool
delegate_to: localhost
- name: Copy archive from samba_share. (Debug)
command: >
smbget 'smb:{{ (cmk_download_path + '/' + cmk_installer) | reslash }}' -U '{{ cmk_smb_username | trim }}%{{ cmk_smb_password | trim }}

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