Skip to content

Commit d8b172a

Browse files
authored
Merge pull request #51 from marcelmamula/rfc
sap_rfc: Deprecate the role and update linting to ignore it
2 parents 3d81c81 + 92a2d5d commit d8b172a

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.ansible-lint

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,36 @@
1+
---
2+
## Collection wide ansible-lint configuration file.
3+
# Changes for ansible-lint v25.7.0+
4+
# - Always executed from collection root using collection configuration.
5+
# - .ansible-lint-ignore can be used to ignore files, not folders.
6+
## Execution examples:
7+
# ansible-lint
8+
# ansible-lint roles/sap_firewall
9+
# ansible-lint roles/sap_firewall -c roles/sap_firewall/.ansible-lint
10+
11+
exclude_paths:
12+
- .ansible/
13+
- .cache/
14+
- .github/
15+
- changelogs/
16+
- playbooks/
17+
- tests/
18+
# sap_rfc role is excluded because it is no longer supported.
19+
- roles/sap_rfc
20+
121
skip_list:
22+
# We don't want to enforce new Ansible versions for Galaxy:
23+
- meta-runtime[unsupported-version]
24+
# We do not want to use checks which are marked as experimental:
25+
- experimental
26+
# We use ignore_errors for all the assert tasks, which should be acceptable:
27+
- ignore-errors
28+
# We want to allow single digit version numbers in a role's meta/main.yml file:
29+
- schema
30+
# Allow templating inside name because it creates more detailed output:
31+
- name[template]
32+
33+
# TODO: Review and remove after all roles are reworked and cleaned up!
234
- empty-string-compare
335
- indentation
436
- line-length

roles/sap_rfc/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
> **DEPRECATED (2026-01)**: PyRFC dependency deprecated — SAP discontinued development and maintenance of the PyRFC library in 2024.<br>
2+
><br>
3+
> The PyRFC library is a critical dependency for this role; it acts as a Python wrapper for the underlying SAP NWRFC SDK (C++ libraries).<br>
4+
> Because SAP has archived the PyRFC project, it will no longer be updated to maintain compatibility with future security patches or version releases of the NWRFC SDK.<br>
5+
><br>
6+
> While PyRFC and the SAP NWRFC SDK are currently still available, their deprecation means they may be removed without notice.<br>
7+
><br>
8+
> Users should plan to migrate away from RFC-based automation toward supported OData/REST API integrations or SAP BTP connectors.<br>
9+
10+
111
# sap_rfc Ansible Role
212

313
The sap_rfc Ansible Role executes an SAP Remote Function Call (RFC) from a server-side host with connectivity to the SAP System host/s, and performs setup as necessary ([`PyRFC`](https://github.com/SAP/PyRFC) open source by SAP, and [`SAP NWRFC SDK`](https://support.sap.com/en/product/connectors/nwrfcsdk.html)).

0 commit comments

Comments
 (0)