Update host configurations in production, staging, and test inventories #4
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
--- | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
pull_request: | |
name: ⚒️ CI | |
jobs: | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: yamllint | |
uses: ibiqlik/action-yamllint@v3 | |
with: | |
file_or_dir: . | |
config_file: .yamllint | |
ansible-lint: | |
runs-on: ubuntu-latest | |
container: pipelinecomponents/ansible-lint:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
git --version | |
ansible-lint --version | |
ansible-lint -v | |
ansible-syntax: | |
runs-on: ubuntu-latest | |
container: cytopia/ansible:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
apk add git | |
git --version | |
ansible-galaxy --version | |
ansible-playbook --version | |
ansible-playbook --syntax-check --list-tasks playbooks/*.yml |