Files
vms/ansible/molecule.yml
T

29 lines
943 B
YAML
Raw Normal View History

2022-05-05 08:17:48 -05:00
dependency:
name: galaxy
options:
role-file: ../../requirements.yml # relative to the role dir
requirements-file: ../../requirements.yml
provisioner:
name: ansible
playbooks: # These paths are relative to scenario dir
prepare: ../shared/prepare.yml
converge: ../shared/playbook.yml
cleanup: ../shared/cleanup.yml
config_options:
defaults:
stdout_callback: yaml
force_color: true
remote_tmp: /tmp/${USER}/ansible
verifier:
name: testinfra
options:
# Add a -v so you see the individual test names,
# particularly useful with parameterized tests
v: true
junit-xml: junit.xml
# Using the shared directory is useful for sharing tests across scenarios,
# but is not a requirement. For scenario specific tests, add the appropriate
# file path to the test or test directory below
additional_files_or_dirs:
- ../../shared/tests # relative to the scenario tests dir