SR-IOV : Include resource creation for SriovOperatorConfig & replace pause with conditional checks #29
Workflow file for this run
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
--- | |
# Workflow for ansible-lint of a role | |
name: ansible-lint of the role sap_hypervisor_node_preconfigure | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
paths: | |
- 'roles/sap_hypervisor_node_preconfigure/**' | |
pull_request: | |
branches: | |
- main | |
- dev | |
paths: | |
- 'roles/sap_hypervisor_node_preconfigure/**' | |
jobs: | |
ansible-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@main | |
- name: Set up Python 3 | |
uses: actions/setup-python@main | |
with: | |
python-version: '3.9' | |
- name: Install test dependencies | |
run: | | |
pip3 install ansible==7.5.0 | |
pip3 install ansible-compat==3.0.2 | |
pip3 install ansible-core==2.14.5 | |
pip3 install ansible-lint==6.8.6 | |
- name: Run ansible-lint | |
working-directory: /home/runner/work/community.sap_infrastructure/community.sap_infrastructure/roles/sap_hypervisor_node_preconfigure | |
run: ansible-lint |