diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 83f43a8..91b044a 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -60,9 +60,13 @@ jobs: - name: Checkout to Repository uses: actions/checkout@v4 - - name: Lint Playbooks - uses: ansible/ansible-lint@main + - name: Use Python 3.13 + uses: actions/setup-python@v5 with: - setup_python: true - working_directory: ./playbooks - requirements_file: ../requirements.txt \ No newline at end of file + python-version: '3.13' + cache: pip + - run: pip install -r requirements.txt + + - name: Lint Playbooks + run: ansible-lint + working-directory: ./playbooks