Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

19 lines (16 sloc) 513 Bytes
---
language: "python"
python:
- "3.7"
# Install python packages for ansible and linters.
install:
- "pip install -r requirements.txt"
# Execute linting tests before running the main playbook.
# If any of these tasks fail, the entire build fails immediately.
before_script:
- "find . -name '*.yml' | xargs yamllint -s"
- "echo 'brkrst3310' >> ~/vault_pass_file.txt"
# Run the role playbook with mock inputs to validate the role functionality.
script:
- "ansible-playbook tests/test_playbook.yml"
...
You can’t perform that action at this time.