You've already forked role-check-mk-agent
Don't do this unless samba
This commit is contained in:
11
molecule/http_direct/converge.yml
Normal file
11
molecule/http_direct/converge.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
cmk_rpm_agent: "https://checkmk.ultrafast.co.nz/checkmk-agent/linux/check-mk-agent-2.0.0p12.noarch.rpm"
|
||||
cmk_add_host: "false"
|
||||
cmk_download_mode: "inline"
|
||||
tasks:
|
||||
- name: "Include ansible-role-cmk-agent"
|
||||
include_role:
|
||||
name: "ansi-ansible-role-check-mk-agent"
|
||||
34
molecule/http_direct/molecule.yml
Normal file
34
molecule/http_direct/molecule.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
dependency:
|
||||
name: galaxy
|
||||
driver:
|
||||
name: docker
|
||||
platforms:
|
||||
- name: rhel8
|
||||
image: docker.io/geerlingguy/docker-rockylinux8-ansible
|
||||
# dockerfile: Centos8-Dockerfile
|
||||
privileged: True
|
||||
command: ${MOLECULE_DOCKER_COMMAND:-"/usr/sbin/init"}
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
||||
pre_build_image: true
|
||||
# - name: rhel7
|
||||
# image: guisea/centos7-ansible:latest
|
||||
# # dockerfile: Centos7-Dockerfile
|
||||
# privileged: True
|
||||
# volumes:
|
||||
# - "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||
# command: "/usr/sbin/init"
|
||||
# pre_build_image: true
|
||||
provisioner:
|
||||
name: ansible
|
||||
log: True
|
||||
options:
|
||||
vvv: True
|
||||
verifier:
|
||||
name: ansible
|
||||
# lint: |
|
||||
# set -e
|
||||
# yamllint .
|
||||
# ansible-lint
|
||||
# flake8
|
||||
10
molecule/http_direct/verify.yml
Normal file
10
molecule/http_direct/verify.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
# This is an example playbook to execute Ansible tests.
|
||||
|
||||
- name: Verify
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Example assertion
|
||||
ansible.builtin.assert:
|
||||
that: true
|
||||
Reference in New Issue
Block a user