2019-10-01 22:31:35 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
lint:
|
|
|
|
name: yamllint
|
|
|
|
platforms:
|
|
|
|
- name: node1
|
|
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
|
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
|
|
|
pre_build_image: true
|
2019-10-26 23:49:48 +02:00
|
|
|
networks:
|
|
|
|
- name: k3snet
|
2019-10-01 22:31:35 +02:00
|
|
|
- name: node2
|
|
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
|
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
|
|
|
pre_build_image: true
|
2019-10-26 23:49:48 +02:00
|
|
|
networks:
|
|
|
|
- name: k3snet
|
2019-10-01 22:31:35 +02:00
|
|
|
- name: node3
|
|
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
|
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
|
|
|
pre_build_image: 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
|
|
|
lint:
|
|
|
|
name: ansible-lint
|
|
|
|
playbooks:
|
|
|
|
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
|
|
|
|
verifier:
|
|
|
|
name: testinfra
|
|
|
|
lint:
|
|
|
|
name: flake8
|