manage_netplan/molecule/default/molecule.yml

42 lines
716 B
YAML
Raw Normal View History

2023-04-11 21:32:34 +00:00
---
dependency:
name: galaxy
options:
requirements-file: ./requirements.yml
2023-04-11 21:32:34 +00:00
driver:
name: docker
platforms:
- name: instance
image: geerlingguy/docker-${MOLECULE_TEST_OS}-ansible
command: ""
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
cgroupns_mode: host
privileged: true
2023-04-11 21:32:34 +00:00
pre_build_image: true
provisioner:
name: ansible
config_options:
defaults:
remote_tmp: /tmp/.ansible
2023-04-11 21:32:34 +00:00
verifier:
name: testinfra
lint: |
yamllint -c .yamllint .
ansible-lint
scenario:
name: default
test_sequence:
- dependency
- lint
- cleanup
- destroy
- syntax
- create
- prepare
- converge
- idempotence
- verify
- cleanup
- destroy