Ansible Lint Main - Scheduled #298
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 5 * * */3" | |
name: Ansible Lint Main - Scheduled | |
permissions: | |
contents: read | |
jobs: | |
ansible-lint-main-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: ./action-lint |