2020-11-29 21:10:42 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
lint: |
|
|
|
|
set -e
|
|
|
|
yamllint -s .
|
2021-02-16 16:46:01 +01:00
|
|
|
ansible-lint --exclude molecule/
|
2020-11-29 21:10:42 +01:00
|
|
|
platforms:
|
|
|
|
- name: node1
|
2020-12-12 17:21:17 +01:00
|
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
|
2020-11-29 21:10:42 +01:00
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
|
|
|
pre_build_image: ${MOLECULE_PREBUILT:-true}
|
|
|
|
networks:
|
|
|
|
- name: k3snet
|
|
|
|
- name: node2
|
2020-12-12 17:21:17 +01:00
|
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
|
2020-11-29 21:10:42 +01:00
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
|
|
|
pre_build_image: ${MOLECULE_PREBUILT:-true}
|
|
|
|
networks:
|
|
|
|
- name: k3snet
|
|
|
|
- name: node3
|
2020-12-12 17:21:17 +01:00
|
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
|
2020-11-29 21:10:42 +01:00
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
|
|
|
pre_build_image: ${MOLECULE_PREBUILT:-true}
|
|
|
|
networks:
|
|
|
|
- name: k3snet
|
|
|
|
provisioner:
|
|
|
|
name: ansible
|
|
|
|
options:
|
|
|
|
verbose: true
|
|
|
|
verifier:
|
|
|
|
name: ansible
|