fix: Fixed error when using external vars for defining container_name… #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: yamllint . | |
ansible-syntax: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare Ansible config for tests | |
run: printf '[defaults]\nroles_path=../' > ansible.cfg | |
- name: Ansible syntax check | |
run: ansible-playbook tests/ci.yml -i tests/inventory --syntax-check |