Skip to content

Commit a7ad12e

Browse files
authored
Merge pull request #4 from rainerleber/feature/fix_galaxy_inclusion
fix lint reference, add runtime
2 parents 0684c48 + 0292006 commit a7ad12e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+727
-655
lines changed

.github/workflows/ansible-lint-config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
3+
skip_list:
4+
- command-instead-of-module
5+
- command-instead-of-shell
6+
- line-length
7+
- risky-shell-pipe
8+
- no-changed-when
9+
- no-handler
10+
- ignore-errors

.github/workflows/ansible-lint.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,9 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v2
12-
13-
- name: Lint Ansible Playbook
14-
uses: ansible/ansible-lint-action@master
15-
with:
16-
targets: |
17-
./
18-
./roles
19-
override-deps: |
20-
ansible==4.8.0
21-
ansible-core==2.11.6
22-
ansible-lint==5.2.1
12+
- uses: actions/setup-python@v3
13+
- run: |
14+
pip3 install ansible-lint
15+
ansible-lint -p roles/ -c .github/workflows/ansible-lint-config
2316
2417
# Static: use Ansible Community Edition 4.8.0, with lowest compatible Ansible Core 2.11.6 and use Ansible-lint 5.2.1

CHANGELOG.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
======================================
2+
Community SAP_OPERATIONS Release Notes
3+
======================================
4+
5+
.. contents:: Topics
6+
7+
8+
v0.9.0
9+
======
10+
11+
Release Summary
12+
---------------
13+
14+
This is the first release of the ``community.sap_operations`` collection. It is the initial relase for the ``community.sap_operations`` collection

changelogs/.plugin-cache.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
objects:
2+
role: {}
3+
plugins:
4+
become: {}
5+
cache: {}
6+
callback: {}
7+
cliconf: {}
8+
connection: {}
9+
httpapi: {}
10+
inventory: {}
11+
lookup: {}
12+
module:
13+
sap_pyrfc:
14+
description: Execute RFC calls
15+
name: sap_pyrfc
16+
namespace: ''
17+
version_added: 0.1.0
18+
netconf: {}
19+
shell: {}
20+
strategy: {}
21+
vars: {}
22+
version: 1.0.0

changelogs/changelog.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ancestor: null
2+
releases:
3+
0.9.0:
4+
changes:
5+
release_summary: 'This is the first release of the ``community.sap_operations``
6+
collection. It is the initial relase for the collection'
7+
fragments:
8+
- 0.9.0.yml
9+
release_date: '2022-05-16'

changelogs/config.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
changelog_filename_template: ../CHANGELOG.rst
2+
changelog_filename_version_depth: 0
3+
changes_file: changelog.yaml
4+
changes_format: combined
5+
keep_fragments: false
6+
mention_ancestor: true
7+
flatmap: true
8+
new_plugins_after_name: removed_features
9+
notesdir: fragments
10+
prelude_section_name: release_summary
11+
prelude_section_title: Release Summary
12+
sections:
13+
- - major_changes
14+
- Major Changes
15+
- - minor_changes
16+
- Minor Changes
17+
- - breaking_changes
18+
- Breaking Changes / Porting Guide
19+
- - deprecated_features
20+
- Deprecated Features
21+
- - removed_features
22+
- Removed Features (previously deprecated)
23+
- - security_fixes
24+
- Security Fixes
25+
- - bugfixes
26+
- Bugfixes
27+
- - known_issues
28+
- Known Issues
29+
title: Community SAP_OPERATIONS
30+
trivial_section_name: trivial

changelogs/fragments/.keep

Whitespace-only changes.

meta/runtime.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
requires_ansible: '>=2.9.10'

plugins/modules/sap_pyrfc.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,27 @@
99

1010
__metaclass__ = type
1111

12+
DOCUMENTATION = r'''
13+
---
14+
module: sap_pyrfc
15+
short_description: Execute RFC calls
16+
version_added: "0.1.0"
17+
description: This module executes RFC calls.
18+
options:
19+
function:
20+
description: The system ID.
21+
type: str
22+
required: true
23+
parameters:
24+
description: The parameters for the function.
25+
type: dict
26+
required: true
27+
connection:
28+
description: The connection parameters.
29+
type: dict
30+
required: true
31+
'''
32+
1233
EXAMPLES = '''
1334
sap_pyrfc:
1435
function: STFC_CONNECTION

roles/os_ansible_user/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ os_ansible_user_uid: ""
44
os_ansible_user_gid: ""
55
os_ansible_user_keyfile: id_ecdsa.pub
66

7-
os_ansible_user_force_recreate: yes
7+
os_ansible_user_force_recreate: true

0 commit comments

Comments
 (0)