Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
ae570a7
fix for ansible-core 2.19 recreated, without sap_swpm
marcelmamula Aug 7, 2025
9e5adc2
linting fix and add exclusion for .ansible folder
marcelmamula Aug 7, 2025
283954e
fix preconfigure handlers comma and thp var condition
marcelmamula Aug 7, 2025
1c98e89
add missing thishost dictionary name
marcelmamula Aug 8, 2025
2e04a36
sap_swpm: Implement a test and a filter for validating hostnames
berndfinger Aug 13, 2025
f306fcd
sap_swpm: Fix pylint error
berndfinger Aug 13, 2025
1f12bca
Merge pull request #1102 from marcelmamula/2.19
marcelmamula Aug 13, 2025
d6446c7
collection: Adjust roles for ansible-core 2.19 part 2
berndfinger Aug 13, 2025
dfb1474
sap_swpm: Fix issues reported in initial PR comments
berndfinger Aug 14, 2025
eefad60
sap_hana_preconfigure: Simplify the code where possible
berndfinger Aug 14, 2025
8d6a3d1
sap_swpm: Improve and unify comments
berndfinger Aug 14, 2025
5b661c9
Merge pull request #1105 from berndfinger/issue-1104-hostname-filter.yml
berndfinger Aug 14, 2025
b9b6aec
sap_hana_preconfigure: Remove superfluous debug task for thp assertion
berndfinger Aug 14, 2025
3391514
Merge pull request #1106 from berndfinger/collection-ansible-core-2.1…
berndfinger Aug 14, 2025
cb83ca5
sap_ha_install_hana_hsr: Fix linter failures
ja9fuchs Aug 14, 2025
520c7d6
sap_swpm: Implement input validation
berndfinger Aug 14, 2025
ece591f
sap_swpm: Improved input validation
berndfinger Aug 15, 2025
393c22f
Merge pull request #1107 from ja9fuchs/fix-lint-findings
ja9fuchs Aug 18, 2025
2dcfef8
sap_swpm: Use only lowercase booleans in the template output
berndfinger Aug 18, 2025
24f8ec6
sap_swpm: Only search for "FAIL:" in active lines
berndfinger Aug 18, 2025
2a7289d
sap_swpm: Add missing definitions in defaults/main.yml
berndfinger Aug 18, 2025
7988e1a
sap_swpm: Perform even more validations
berndfinger Aug 18, 2025
984c0f9
sap_swpm: Further changes
berndfinger Aug 18, 2025
efed547
sap_swpm: Fix indentation
berndfinger Aug 18, 2025
7b19e24
sap_swpm: Further improvements
berndfinger Aug 21, 2025
5fff236
sap_swpm: Even more detailed error messages
berndfinger Aug 25, 2025
4ee34f8
sap_swpm: A few leftovers
berndfinger Aug 25, 2025
d3b93cc
sap_swpm: Typos and more detailed output
berndfinger Aug 25, 2025
3200918
sap_swpm: validate some vars as booleans instead of strings
berndfinger Aug 25, 2025
2fc6229
sap_swpm: Fix typo in comment section of j2 template
berndfinger Sep 1, 2025
71b56e3
sap_swpm: Further tweaks after additional testing
berndfinger Sep 1, 2025
7031964
feat: sap_hana_install idempotency rework
marcelmamula Sep 2, 2025
3f48da3
remove forgotten debug pause task
marcelmamula Sep 2, 2025
0dc2792
sap_swpm: Further improvements
berndfinger Sep 3, 2025
d518b98
sap_swpm: Remove superfluous single quote
berndfinger Sep 5, 2025
dd06bcf
Merge pull request #1108 from berndfinger/issue-1060-improved-swpm-in…
berndfinger Sep 5, 2025
6db061e
update final debug message and move user modification to new install …
marcelmamula Sep 5, 2025
02db90b
Update output message for post tasks
marcelmamula Sep 5, 2025
6b61b09
fix conditionals for addhosts execution and reflect it in readme
marcelmamula Sep 11, 2025
f74a0b6
restore conditionals to resolve issue with addhosts tasks
marcelmamula Sep 11, 2025
2f66417
update readme to show addhosts example
marcelmamula Sep 15, 2025
9171f72
Merge pull request #1111 from marcelmamula/idempotent_hana
marcelmamula Sep 15, 2025
93b1681
enhance variable validation and account for missed variable combinations
marcelmamula Sep 16, 2025
b1e1442
revert back path to directory and fix missing for
marcelmamula Sep 19, 2025
75d25d6
Merge pull request #1114 from marcelmamula/enhance_validations
marcelmamula Sep 19, 2025
bdf04f9
update sanity workflow
marcelmamula Sep 23, 2025
e8b10ee
Add missing ignore files
marcelmamula Sep 23, 2025
e58fdf5
update formatting and add explanation for matrix
marcelmamula Sep 24, 2025
4592385
sap_hana_preconfigure: add role prefix to var name
berndfinger Sep 24, 2025
beef996
sap_netweaver_preconfigure: add role prefix to var name
berndfinger Sep 24, 2025
8246711
Merge pull request #1116 from berndfinger/add-hana-preconfigure-vars-…
berndfinger Sep 25, 2025
ce86d2f
Merge pull request #1117 from berndfinger/add-netweaver-preconfigure-…
berndfinger Sep 25, 2025
c937b5a
split workflow into eol and supported
marcelmamula Sep 25, 2025
5ad5089
Merge pull request #1115 from marcelmamula/sanity
marcelmamula Sep 25, 2025
5441e62
update linting workflows and configuration to latest
marcelmamula Sep 26, 2025
27f72e8
fix linting errors in sap_ha_pacemaker_cluster
marcelmamula Sep 26, 2025
d85e76c
fix linting issues for sap_install_media_detect
marcelmamula Sep 26, 2025
0a736a2
move noqa to reduce task name line length
marcelmamula Sep 26, 2025
7c683f1
fix linting errors for sap_hostagent
marcelmamula Sep 26, 2025
11a7af2
Merge pull request #1120 from marcelmamula/linting_media
marcelmamula Sep 29, 2025
2c01d26
Merge pull request #1121 from marcelmamula/linting_hostagent
marcelmamula Sep 29, 2025
0e71a4f
Merge pull request #1119 from marcelmamula/linting_ha
marcelmamula Sep 29, 2025
a2216a2
updated linting comment for clarity
marcelmamula Sep 30, 2025
9b773dd
Merge pull request #1118 from marcelmamula/linting
marcelmamula Sep 30, 2025
ab29622
feat: implement detection of multiple files and solve issue 1031
marcelmamula Oct 6, 2025
ec38d84
move permission set before version check and fix loop vars
marcelmamula Oct 6, 2025
0790f44
linting fixes and loop label update
marcelmamula Oct 8, 2025
ec3628a
update task names for clarity
marcelmamula Oct 8, 2025
b83bffb
Merge pull request #1125 from marcelmamula/swpm_sapcar
marcelmamula Oct 8, 2025
9b01c7b
feat: implement inventory based scaleout and validation for version, …
marcelmamula Oct 14, 2025
e60d0b1
Fix conditional issues
marcelmamula Oct 15, 2025
aec0f16
update sles preconfigure roles with loop_vars and improved pattern check
marcelmamula Nov 11, 2025
dad15f5
Merge pull request #1127 from marcelmamula/failed_when
marcelmamula Nov 13, 2025
b407bb1
prepare ignore files up to 2.25 and remove symlink
marcelmamula Nov 13, 2025
b556072
introduce EOL matrix for supported pythons
marcelmamula Nov 13, 2025
eddea9c
Merge pull request #1128 from marcelmamula/sanity-2.25
marcelmamula Nov 13, 2025
6633a9f
sap_hana_preconfigure: Sync with SAP note 3108302
berndfinger Nov 21, 2025
8edb595
Merge pull request #1130 from berndfinger/issue-1129-rhel94-kernel-mi…
berndfinger Nov 24, 2025
56b997c
replace int check with formatting and improve format of hdblcm command
marcelmamula Nov 24, 2025
86e40e6
Merge pull request #1126 from marcelmamula/addhosts_scaleout
marcelmamula Nov 24, 2025
cd525c9
fix linting errors in 2.20 with facts and register var names
marcelmamula Nov 25, 2025
ec6e1aa
Merge pull request #1132 from marcelmamula/linting-2.20
marcelmamula Nov 27, 2025
f86320b
sap_hana_install: SELinux and fapolicyd handling
berndfinger Nov 27, 2025
08c82f2
rework hsr role. new validations and compatibility for 2.20
marcelmamula Nov 27, 2025
1f636fc
sap_hana_install: Fix ansible-lint
berndfinger Nov 27, 2025
5ff835a
sap_hana_install: Fix codespell
berndfinger Nov 27, 2025
ba6457c
sap_hana_install: Add assertion for sap_hana_install_directories
berndfinger Nov 28, 2025
bf75243
sap_hana_install: use only a list of dicts for selinux_fcontexts
berndfinger Nov 28, 2025
ed3b4ee
sap_hana_install: Rename sap_hana_install_use_fapolicyd
berndfinger Nov 28, 2025
1cebedd
sap_hana_install: Rename sap_hana_install_modify_selinux_labels
berndfinger Nov 28, 2025
261da32
sap_hana_install: Further improvements
berndfinger Nov 28, 2025
c4ea37d
sap_hana_install: Remove superfluous when condition
berndfinger Nov 28, 2025
1e6a660
sap_hana_install: Further improvements
berndfinger Nov 30, 2025
4798277
sap_hana_preconfigure: No longer mention ssh in debug message
berndfinger Dec 1, 2025
0235088
sap_hana_preconfigure: Prioritize old selinux and faplicyd vars
berndfinger Dec 1, 2025
b71a371
sap_hana_install: Fix linting error
berndfinger Dec 1, 2025
a830009
sanitize existing replication behavior and add stat for executables
marcelmamula Dec 1, 2025
47899df
sap_hana_preconfigure: Fix some typos
berndfinger Dec 2, 2025
d9a91bd
add steps to start HANA before replication steps
marcelmamula Dec 2, 2025
32bb968
improve start and add retry to avoid register failure
marcelmamula Dec 2, 2025
b84bb20
remove unused block and add tag for hsr_disable
marcelmamula Dec 2, 2025
23ff1ab
add always tag to last debug message
marcelmamula Dec 2, 2025
71d4c57
Merge pull request #1135 from marcelmamula/hsr_home
marcelmamula Dec 2, 2025
b2c2683
Merge pull request #1136 from berndfinger/combine-selinux-and-fapolic…
berndfinger Dec 3, 2025
1ec2293
sap_hana_install: Rework tags
berndfinger Dec 4, 2025
d230b1d
sap_hana_install: Further improvements on tags
berndfinger Dec 5, 2025
c65428b
sap_hana_install: Improve README.md about max. tags
berndfinger Dec 5, 2025
1af885e
sap_hana_install: fixes after first round of review
berndfinger Dec 8, 2025
3b802d7
sap_hana_install: Remove superflous tag in tasks/main.yml
berndfinger Dec 9, 2025
f366317
sap_hana_install: fixed remaining jinja[spacing]
berndfinger Dec 10, 2025
2341f2b
sap_hana_install: remove superfluous tag
berndfinger Dec 10, 2025
de748dc
Merge pull request #1138 from berndfinger/issue-1137-rework-tags-for-…
berndfinger Dec 11, 2025
4d6e616
add btrfs support for SLES 16
marcelmamula Jan 6, 2026
df64a31
Merge pull request #1141 from marcelmamula/storage-16
marcelmamula Jan 9, 2026
aa7109f
collection: Prepare for v1.8.0
berndfinger Jan 9, 2026
fa0e1e7
Modify remarks about contributing in README.md
berndfinger Jan 9, 2026
a1e8d1d
Fix typo in changelog
berndfinger Jan 12, 2026
ef33bd3
Regenerate CHANGELOG.rst from changelog.yaml
berndfinger Jan 12, 2026
7d44019
Merge pull request #1142 from berndfinger/new-release-1.8.0
berndfinger Jan 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
---
# Collection wide lint-file
# DO NOT CHANGE
## Collection wide ansible-lint configuration file.
# Changes for ansible-lint v25.7.0+
# - Always executed from collection root using collection configuration.
# - .ansible-lint-ignore can be used to ignore files, not folders.
## Execution examples:
# ansible-lint
# ansible-lint roles/sap_swpm
# ansible-lint roles/sap_install_media_detect -c roles/sap_install_media_detect/.ansible-lint

exclude_paths:
- .ansible/
- .cache/
- .github/
#- docs/
- changelogs/
- playbooks/
- roles/sap_anydb_install_oracle
#- roles/sap_general_preconfigure
#- roles/sap_ha_install_anydb_ibmdb2
#- roles/sap_ha_install_hana_hsr
#- roles/sap_ha_pacemaker_cluster
#- roles/sap_hana_install
#- roles/sap_hana_preconfigure
#- roles/sap_hostagent
#- roles/sap_install_media_detect
#- roles/sap_netweaver_preconfigure
#- roles/sap_storage_setup
#- roles/sap_swpm
- tests/
# Roles which need to be excluded until their linting errors are resolved:
- roles/sap_anydb_install_oracle

enable_list:
- yaml

skip_list:
# We don't want to enforce new Ansible versions for Galaxy:
- meta-runtime[unsupported-version]
Expand Down
9 changes: 9 additions & 0 deletions .ansible-lint-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file is replacement for role specific .ansible-lint files with skip_list and warn_list.
# Path has to point to a file because folders or wildcards are not accepted.

# 'sap_install_media_detect' sets variables used by 'sap_swpm' and 'sap_hana_install'
roles/sap_install_media_detect/tasks/set_global_vars.yml var-naming[no-role-prefix]
roles/sap_install_media_detect/tasks/find_files_after_extraction.yml var-naming[no-role-prefix]

# 'sap_ha_pacemaker_cluster' sets variables used by LSR role 'ha_cluster'.
roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml var-naming[no-role-prefix]
31 changes: 18 additions & 13 deletions .github/workflows/ansible-lint-sap_general_preconfigure.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

# Workflow for ansible-lint of a role, using reusable workflow

name: ansible-lint of the role sap_general_preconfigure
name: Ansible Lint - sap_general_preconfigure

on:
push:
Expand All @@ -17,15 +14,23 @@ on:
- dev
paths:
- 'roles/sap_general_preconfigure/**'

workflow_dispatch:
branches:
- main
- dev
paths:
- 'roles/sap_general_preconfigure/**'

jobs:
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_general_preconfigure
ansible-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

# Use @v25 to automatically track the latest release from the year 2025.
# ansible-lint uses Calendar Versioning (e.g., v25.9.0 -> YYYY.MM.PATCH).
# Avoid using @main, which can introduce breaking changes unexpectedly.
- uses: ansible/ansible-lint@v25
with:
# v25.7.0 no longer uses 'working_directory' and role path is set in 'args'.
# Role specific .ansible-lint can be added with argument '-c'.
args: roles/sap_general_preconfigure
# Use the shared requirements file from the collection root for dependency context.
requirements_file: ./requirements.yml
31 changes: 18 additions & 13 deletions .github/workflows/ansible-lint-sap_ha_install_hana_hsr.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

# Workflow for ansible-lint of a role, using reusable workflow

name: ansible-lint of the role sap_ha_install_hana_hsr
name: Ansible Lint - sap_ha_install_hana_hsr

on:
push:
Expand All @@ -17,15 +14,23 @@ on:
- dev
paths:
- 'roles/sap_ha_install_hana_hsr/**'

workflow_dispatch:
branches:
- main
- dev
paths:
- 'roles/sap_ha_install_hana_hsr/**'

jobs:
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_ha_install_hana_hsr
ansible-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

# Use @v25 to automatically track the latest release from the year 2025.
# ansible-lint uses Calendar Versioning (e.g., v25.9.0 -> YYYY.MM.PATCH).
# Avoid using @main, which can introduce breaking changes unexpectedly.
- uses: ansible/ansible-lint@v25
with:
# v25.7.0 no longer uses 'working_directory' and role path is set in 'args'.
# Role specific .ansible-lint can be added with argument '-c'.
args: roles/sap_ha_install_hana_hsr
# Use the shared requirements file from the collection root for dependency context.
requirements_file: ./requirements.yml
31 changes: 18 additions & 13 deletions .github/workflows/ansible-lint-sap_ha_pacemaker_cluster.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

# Workflow for ansible-lint of a role, using reusable workflow

name: ansible-lint of the role sap_ha_pacemaker_cluster
name: Ansible Lint - sap_ha_pacemaker_cluster

on:
push:
Expand All @@ -17,15 +14,23 @@ on:
- dev
paths:
- 'roles/sap_ha_pacemaker_cluster/**'

workflow_dispatch:
branches:
- main
- dev
paths:
- 'roles/sap_ha_pacemaker_cluster/**'

jobs:
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_ha_pacemaker_cluster
ansible-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

# Use @v25 to automatically track the latest release from the year 2025.
# ansible-lint uses Calendar Versioning (e.g., v25.9.0 -> YYYY.MM.PATCH).
# Avoid using @main, which can introduce breaking changes unexpectedly.
- uses: ansible/ansible-lint@v25
with:
# v25.7.0 no longer uses 'working_directory' and role path is set in 'args'.
# Role specific .ansible-lint can be added with argument '-c'.
args: roles/sap_ha_pacemaker_cluster
# Use the shared requirements file from the collection root for dependency context.
requirements_file: ./requirements.yml
31 changes: 18 additions & 13 deletions .github/workflows/ansible-lint-sap_hana_install.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

# Workflow for ansible-lint of a role, using reusable workflow

name: ansible-lint of the role sap_hana_install
name: Ansible Lint - sap_hana_install

on:
push:
Expand All @@ -17,15 +14,23 @@ on:
- dev
paths:
- 'roles/sap_hana_install/**'

workflow_dispatch:
branches:
- main
- dev
paths:
- 'roles/sap_hana_install/**'

jobs:
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_hana_install
ansible-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

# Use @v25 to automatically track the latest release from the year 2025.
# ansible-lint uses Calendar Versioning (e.g., v25.9.0 -> YYYY.MM.PATCH).
# Avoid using @main, which can introduce breaking changes unexpectedly.
- uses: ansible/ansible-lint@v25
with:
# v25.7.0 no longer uses 'working_directory' and role path is set in 'args'.
# Role specific .ansible-lint can be added with argument '-c'.
args: roles/sap_hana_install
# Use the shared requirements file from the collection root for dependency context.
requirements_file: ./requirements.yml
31 changes: 18 additions & 13 deletions .github/workflows/ansible-lint-sap_hana_preconfigure.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

# Workflow for ansible-lint of a role, using reusable workflow

name: ansible-lint of the role sap_hana_preconfigure
name: Ansible Lint - sap_hana_preconfigure

on:
push:
Expand All @@ -17,15 +14,23 @@ on:
- dev
paths:
- 'roles/sap_hana_preconfigure/**'

workflow_dispatch:
branches:
- main
- dev
paths:
- 'roles/sap_hana_preconfigure/**'

jobs:
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_hana_preconfigure
ansible-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

# Use @v25 to automatically track the latest release from the year 2025.
# ansible-lint uses Calendar Versioning (e.g., v25.9.0 -> YYYY.MM.PATCH).
# Avoid using @main, which can introduce breaking changes unexpectedly.
- uses: ansible/ansible-lint@v25
with:
# v25.7.0 no longer uses 'working_directory' and role path is set in 'args'.
# Role specific .ansible-lint can be added with argument '-c'.
args: roles/sap_hana_preconfigure
# Use the shared requirements file from the collection root for dependency context.
requirements_file: ./requirements.yml
31 changes: 18 additions & 13 deletions .github/workflows/ansible-lint-sap_install_media_detect.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

# Workflow for ansible-lint of a role, using reusable workflow

name: ansible-lint of the role sap_install_media_detect
name: Ansible Lint - sap_install_media_detect

on:
push:
Expand All @@ -17,15 +14,23 @@ on:
- dev
paths:
- 'roles/sap_install_media_detect/**'

workflow_dispatch:
branches:
- main
- dev
paths:
- 'roles/sap_install_media_detect/**'

jobs:
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_install_media_detect
ansible-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

# Use @v25 to automatically track the latest release from the year 2025.
# ansible-lint uses Calendar Versioning (e.g., v25.9.0 -> YYYY.MM.PATCH).
# Avoid using @main, which can introduce breaking changes unexpectedly.
- uses: ansible/ansible-lint@v25
with:
# v25.7.0 no longer uses 'working_directory' and role path is set in 'args'.
# Role specific .ansible-lint can be added with argument '-c'.
args: roles/sap_install_media_detect
# Use the shared requirements file from the collection root for dependency context.
requirements_file: ./requirements.yml
31 changes: 18 additions & 13 deletions .github/workflows/ansible-lint-sap_maintain_etc_hosts.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

# Workflow for ansible-lint of a role, using reusable workflow

name: ansible-lint of the role sap_maintain_etc_hosts
name: Ansible Lint - sap_maintain_etc_hosts

on:
push:
Expand All @@ -17,15 +14,23 @@ on:
- dev
paths:
- 'roles/sap_maintain_etc_hosts/**'

workflow_dispatch:
branches:
- main
- dev
paths:
- 'roles/sap_maintain_etc_hosts/**'

jobs:
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_maintain_etc_hosts
ansible-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

# Use @v25 to automatically track the latest release from the year 2025.
# ansible-lint uses Calendar Versioning (e.g., v25.9.0 -> YYYY.MM.PATCH).
# Avoid using @main, which can introduce breaking changes unexpectedly.
- uses: ansible/ansible-lint@v25
with:
# v25.7.0 no longer uses 'working_directory' and role path is set in 'args'.
# Role specific .ansible-lint can be added with argument '-c'.
args: roles/sap_maintain_etc_hosts
# Use the shared requirements file from the collection root for dependency context.
requirements_file: ./requirements.yml
31 changes: 18 additions & 13 deletions .github/workflows/ansible-lint-sap_netweaver_preconfigure.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

# Workflow for ansible-lint of a role, using reusable workflow

name: ansible-lint of the role sap_netweaver_preconfigure
name: Ansible Lint - sap_netweaver_preconfigure

on:
push:
Expand All @@ -17,15 +14,23 @@ on:
- dev
paths:
- 'roles/sap_netweaver_preconfigure/**'

workflow_dispatch:
branches:
- main
- dev
paths:
- 'roles/sap_netweaver_preconfigure/**'

jobs:
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_netweaver_preconfigure
ansible-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

# Use @v25 to automatically track the latest release from the year 2025.
# ansible-lint uses Calendar Versioning (e.g., v25.9.0 -> YYYY.MM.PATCH).
# Avoid using @main, which can introduce breaking changes unexpectedly.
- uses: ansible/ansible-lint@v25
with:
# v25.7.0 no longer uses 'working_directory' and role path is set in 'args'.
# Role specific .ansible-lint can be added with argument '-c'.
args: roles/sap_netweaver_preconfigure
# Use the shared requirements file from the collection root for dependency context.
requirements_file: ./requirements.yml
Loading