Ansible Lint - Scheduled #290
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: | |
schedule: | |
- cron: "0 1 * * */3" | |
name: Ansible Lint - Scheduled | |
permissions: | |
contents: read | |
jobs: | |
ansible-lint-scheduled: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
egress-policy: audit | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get --assume-yes --no-install-recommends install python3-pip | |
python3 -m pip install --user -U jmespath passlib | |
- name: Lint Ansible Playbook | |
uses: ansible/ansible-lint-action@eb92667e07cc18e1d115ff02e5f07126310cec11 # main |