2023-03-10 18:54:35 +00:00
|
|
|
---
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
options:
|
|
|
|
requirements-file: ./requirements.yml
|
|
|
|
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
|
|
|
|
pre_build_image: true
|
|
|
|
provisioner:
|
|
|
|
name: ansible
|
|
|
|
config_options:
|
|
|
|
defaults:
|
|
|
|
remote_tmp: /tmp/.ansible
|
|
|
|
verifier:
|
|
|
|
name: testinfra
|
|
|
|
lint: |
|
|
|
|
yamllint -c .yamllint .
|
|
|
|
ansible-lint
|
|
|
|
scenario:
|
|
|
|
name: with_custom_packages
|
|
|
|
test_sequence:
|
2023-03-10 19:15:14 +00:00
|
|
|
- dependency
|
2023-03-10 18:54:35 +00:00
|
|
|
- lint
|
2023-03-10 19:15:14 +00:00
|
|
|
- cleanup
|
2023-03-10 18:54:35 +00:00
|
|
|
- destroy
|
|
|
|
- syntax
|
|
|
|
- create
|
2023-03-10 19:09:44 +00:00
|
|
|
- prepare
|
2023-03-10 18:54:35 +00:00
|
|
|
- converge
|
|
|
|
- idempotence
|
|
|
|
- verify
|
2023-03-11 21:48:16 +00:00
|
|
|
- cleanup
|
2023-03-10 18:54:35 +00:00
|
|
|
- destroy
|