Proper role testing

This commit is contained in:
2022-08-11 00:07:24 +12:00
parent 1efc90e172
commit 841bfc2eec
8 changed files with 36 additions and 15 deletions

View File

@@ -8,7 +8,11 @@
cmk_omd_site: "{{ lookup('env', 'CMK_OMD_SITE') }}"
cmk_username: "{{ lookup('env', 'CMK_USERNAME') }}"
cmk_secret: "{{ lookup('env', 'CMK_SECRET') }}"
cmk_download_mode: "{{ lookup('env', 'CMK_DOWNLOAD_MODE') }}"
cmk_download_path: "{{ lookup('env', 'CMK_DOWNLOAD_PATH') }}"
cmk_smb_username: "{{ lookup('env', 'CMK_SMB_USERNAME') }}"
cmk_smb_password: "{{ lookup('env', 'CMK_SMB_PASSWORD') }}"
tasks:
- name: "Include ansible-role-cmk-agent"
include_role:
name: "ansible-role-cmk-agent"
name: "ansi-ansible-role-check-mk-agent"