Skip to content

ansible-lint of all Ansible Playbooks for SAP #38

ansible-lint of all Ansible Playbooks for SAP

ansible-lint of all Ansible Playbooks for SAP #38

Workflow file for this run

---
# Workflow for ansible-lint of the collection
name: ansible-lint of all Ansible Playbooks for SAP
on:
schedule:
- cron: '10 10 * * 1'
workflow_dispatch:
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies for Python
run: |
pip3 install ansible==9.1.0
pip3 install ansible-compat==4.1.10
pip3 install ansible-core==2.16.2
pip3 install ansible-lint==6.22.1
- name: Install dependencies for Ansible
run: ansible-galaxy collection install -r /home/runner/work/ansible.playbooks_for_sap/ansible.playbooks_for_sap/deploy_scenarios/sap_hana/ansible_requirements.yml
- name: Run ansible-lint
working-directory: /home/runner/work/ansible.playbooks_for_sap/
run: ansible-lint