ENH: Add task to reset passwords for elasticsearch #135
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: Linting | |
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@v5 | |
- 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-galaxy install -r ansible/requirements.yml | |
ansible-lint --project-dir ansible | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
with: | |
scandir: './chatops_deployment' |