chore: Add fixed IP for testing with add_host

This commit is contained in:
2024-06-05 11:15:49 +12:00
parent 09ec245d1f
commit 88ca870490
2 changed files with 3 additions and 2 deletions

View File

@@ -4,13 +4,14 @@
vars:
cmk_rpm_agent: https://files.cybercinch.nz/agents/check-mk/linux/check-mk-agent-2.2.0p9-1102045deb7cb781.noarch.rpm
cmk_dl_needs_auth: false
cmk_add_host: false
cmk_add_host: true
cmk_download_mode: inline
cmk_omd_protocol: "{{ lookup('env', 'CMK_OMD_PROTOCOL')}}"
cmk_omd_host: "{{ lookup('env', 'CMK_OMD_HOST')}}"
cmk_omd_site: "{{ lookup('env', 'CMK_OMD_SITE')}}"
cmk_username: "{{ lookup('env', 'CMK_USERNAME')}}"
cmk_secret: "{{ lookup('env', 'CMK_SECRET')}}"
cmk_host_ip: "172.16.33.4"
tasks:
- name: Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}
include_role:

View File

@@ -4,7 +4,7 @@ dependency:
driver:
name: docker
platforms:
- name: check_mk_agent-test-${MOLECULE_DISTRO:-almalinux8}
- name: check-mk-agent-test-${MOLECULE_DISTRO:-almalinux8}
image: cybercinch/docker-${MOLECULE_DISTRO:-almalinux8}-ansible:latest
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes: