Skip to content

sap_vm_temp_vip: Redesign to replace shell with ansible tasks #23

sap_vm_temp_vip: Redesign to replace shell with ansible tasks

sap_vm_temp_vip: Redesign to replace shell with ansible tasks #23

---
# Workflow for ansible-lint of a role
name: ansible-lint of the role sap_vm_temp_vip
on:
push:
branches:
- main
- dev
paths:
- 'roles/sap_vm_temp_vip/**'
pull_request:
branches:
- main
- dev
paths:
- 'roles/sap_vm_temp_vip/**'
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 test dependencies
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: Run ansible-lint
working-directory: /home/runner/work/community.sap_infrastructure/community.sap_infrastructure/roles/sap_vm_temp_vip
run: ansible-lint