ENH: Add systemd exporter to hosts #34
Workflow file for this run
This file contains hidden or 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: ChatOps checks | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - "chatops_deployment/**" | |
| - ".github/workflows/chatops.yaml" | |
| pull_request: | |
| paths: | |
| - "chatops_deployment/**" | |
| - ".github/workflows/chatops.yaml" | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check Terraform | |
| run: | | |
| sudo snap install terraform --classic | |
| cd chatops_deployment/terraform | |
| touch bastion-key.pub | |
| terraform init | |
| terraform validate | |
| cd ../.. | |
| - name: Check Ansible | |
| run: | | |
| pip install ansible | |
| pip install ansible-lint | |
| cd chatops_deployment | |
| ansible-lint --project-dir ansible | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@master | |
| with: | |
| scandir: './chatops_deployment' |