Add Ansible linting and other stuff
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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
|
||||
Reference in New Issue
Block a user