2019-10-01 22:31:35 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
driver:
|
|
|
|
name: docker
|
2020-09-26 16:50:03 +02:00
|
|
|
lint: |
|
|
|
|
set -e
|
|
|
|
yamllint .
|
|
|
|
ansible-lint
|
2019-10-01 22:31:35 +02:00
|
|
|
platforms:
|
|
|
|
- name: node1
|
2019-12-09 14:53:42 +01:00
|
|
|
image: "${MOLECULE_DISTRO:-geerlingguy/docker-centos8-ansible:latest}"
|
2019-10-01 22:31:35 +02:00
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
2019-12-09 14:53:42 +01:00
|
|
|
pre_build_image: ${MOLECULE_PREBUILT:-true}
|
2019-10-26 23:49:48 +02:00
|
|
|
networks:
|
|
|
|
- name: k3snet
|
2019-10-01 22:31:35 +02:00
|
|
|
- name: node2
|
2019-12-09 14:53:42 +01:00
|
|
|
image: "${MOLECULE_DISTRO:-geerlingguy/docker-centos8-ansible:latest}"
|
2019-10-01 22:31:35 +02:00
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
2019-12-09 14:53:42 +01:00
|
|
|
pre_build_image: ${MOLECULE_PREBUILT:-true}
|
2019-10-26 23:49:48 +02:00
|
|
|
networks:
|
|
|
|
- name: k3snet
|
2019-10-01 22:31:35 +02:00
|
|
|
- name: node3
|
2019-12-09 14:53:42 +01:00
|
|
|
image: "${MOLECULE_DISTRO:-geerlingguy/docker-centos8-ansible:latest}"
|
2019-10-01 22:31:35 +02:00
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
2019-12-09 14:53:42 +01:00
|
|
|
pre_build_image: ${MOLECULE_PREBUILT:-true}
|
2019-10-26 23:49:48 +02:00
|
|
|
networks:
|
|
|
|
- name: k3snet
|
2019-10-01 22:31:35 +02:00
|
|
|
provisioner:
|
|
|
|
name: ansible
|
2019-10-26 23:49:48 +02:00
|
|
|
options:
|
|
|
|
verbose: true
|
2019-10-01 22:31:35 +02:00
|
|
|
playbooks:
|
2019-12-21 18:11:30 +01:00
|
|
|
prepare: ${MOLECULE_PREPARE_PLAYBOOK:-prepare.yml}
|
2019-10-01 22:31:35 +02:00
|
|
|
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
|