Skip to content

Commit 8515230

Browse files
authored
Merge pull request #940 from berndfinger/issue-939
sap_netweaver_preconfigure: fix argument_specs validation error
2 parents 70d7cb1 + 260196c commit 8515230

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

roles/sap_netweaver_preconfigure/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ In assertion mode, the role will abort when encountering any assertion error.<br
115115
If this parameter is set to `false`, the role will *not* abort when encountering an assertion error.<br>
116116
This is useful if the role is used for reporting a system's SAP notes compliance.<br>
117117

118+
### sap_netweaver_preconfigure_packages
119+
- _Type:_ `list` with elements of type `str`
120+
- _Default:_ (set by platform/environment specific variables)
121+
122+
The list of packages to be installed for SAP NETWEAVER.<br>
123+
The default for this variable is set in the vars file which corresponds to the detected OS version.<br>
124+
118125
### sap_netweaver_preconfigure_min_swap_space_mb
119126
- _Type:_ `str`
120127
- _Default:_ `20480`
@@ -156,4 +163,4 @@ Set this parameter to `true` when using Adobe Document Services, to ensure all r
156163

157164
(SUSE specific) Specifies the saptune solution to apply.<br>
158165
Available values: `NETWEAVER`, `NETWEAVER+HANA`, `S4HANA-APP+DB`, `S4HANA-APPSERVER`, `S4HANA-DBSERVER`
159-
<!-- END Role Variables -->
166+
<!-- END Role Variables -->

roles/sap_netweaver_preconfigure/meta/argument_specs.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,6 @@ argument_specs:
88
short_description: Variables for SAP NetWeaver preconfiguration
99
options:
1010

11-
sap_netweaver_preconfigure_packages:
12-
default: "{{ __sap_netweaver_preconfigure_packages }}"
13-
description:
14-
- The list of packages to be installed for SAP NETWEAVER.
15-
- The default for this variable is set in the vars file which corresponds to the detected OS version.
16-
required: false
17-
type: list
18-
elements: str
19-
2011
sap_netweaver_preconfigure_config_all:
2112
default: true
2213
description:
@@ -57,6 +48,15 @@ argument_specs:
5748
required: false
5849
type: bool
5950

51+
sap_netweaver_preconfigure_packages:
52+
default: "{{ __sap_netweaver_preconfigure_packages }}"
53+
description:
54+
- The list of packages to be installed for SAP NETWEAVER.
55+
- The default for this variable is set in the vars file which corresponds to the detected OS version.
56+
required: false
57+
type: list
58+
elements: str
59+
6060
sap_netweaver_preconfigure_min_swap_space_mb:
6161
default: '20480'
6262
description:

roles/sap_netweaver_preconfigure/vars/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
# define variables here that will not change
55
# Those are valid for all OS
66
#
7+
8+
# dummy entry for passing the arg spec validation:
9+
__sap_netweaver_preconfigure_packages: []

0 commit comments

Comments
 (0)