ansible-role-k3s/molecule/debug/molecule.yml

61 lines
1.2 KiB
YAML
Raw Normal View History

2020-11-29 21:10:42 +01:00
---
dependency:
name: galaxy
driver:
name: docker
scenario:
test_sequence:
- dependency
- lint
- cleanup
- destroy
- syntax
- create
- prepare
- check
- converge
- idempotence
- side_effect
- verify
- cleanup
- destroy
2020-11-29 21:10:42 +01:00
lint: |
set -e
yamllint -s .
ansible-lint --exclude molecule/
2020-11-29 21:10:42 +01:00
platforms:
- name: node1
image: "${MOLECULE_DISTRO:-ubuntu:focal}"
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:-false}
2020-11-29 21:10:42 +01:00
networks:
- name: k3snet
- name: node2
image: "${MOLECULE_DISTRO:-ubuntu:focal}"
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:-false}
2020-11-29 21:10:42 +01:00
networks:
- name: k3snet
- name: node3
image: "${MOLECULE_DISTRO:-ubuntu:focal}"
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:-false}
2020-11-29 21:10:42 +01:00
networks:
- name: k3snet
provisioner:
name: ansible
options:
verbose: true
verifier:
name: ansible