automatics.automatics.automatics_sap_profile_parameter module – Manages profile parameters in automatics systems of type ‘sap’
Note
This module is part of the automatics.automatics collection (version version_filler).
To install it, use: ansible-galaxy collection install automatics.automatics.
To use it in a playbook, specify: automatics.automatics.automatics_sap_profile_parameter.
Synopsis
Manages profile parameters in automatics systems of type ‘sap’
Parameters
Parameter |
Comments |
|---|---|
automatics authentication bearer token returned from automatics_login module |
|
Execution timeout in minutes for the triggered executions in automatics |
|
Hostname of the automatics server. |
|
Regex for instance profile matching Default: |
|
Parameter to set on matching profiles and systems |
|
Parameter name |
|
Parameter value to be set |
|
SAP profile types to apply the given parameters Choices:
|
|
systems in automatics to select for the operation (name matching) dict containing ‘type’, ‘name’ and ‘client’ that must match the automatics system-type, name and client for systems of type ‘sap’ and ‘sap-hana-db’, the ‘name’ equals the SAP SID for systems of type ‘sap-wdp’, the ‘name’ equals <sapsid>@<node> |
|
the client to which the system is assigned can either be the client id or client name Default: |
|
must match the automatics system name |
|
must match the automatics system-type Choices:
|
|
systems in automatics to select for the operation (id matching) must match the automatics system-id |
|
Verify the https certificate of the automatics server. Choices:
|
Notes
Note
either ‘system’ or ‘system_id’ is required
Examples
- name: set single profile parameter on multiple systems in default profile in matching instance profiles
automatics_sap_profile_parameter:
hostname: automatics.example.org
auth_token: aW4iLCJlbWFpbCI6ImFkbWluIiw...
validate_certs: false
system:
- type: sap
sid: AUT
- type: sap
sid: AUS
- type: sap-hana-db
sid: HDB
profile_type: all
instance_profile_regex: ^[A-z][A-z0-9]{2}_D.+$
parameter:
name: rdisp/max_wprun_time
value: 3600
- name: set multiple profile parametes on single system in all instance profiles
automatics_sap_profile_parameter:
hostname: automatics.example.org
auth_token: aW4iLCJlbWFpbCI6ImFkbWluIiw...
validate_certs: false
system:
type: sap
sid: AUT
client: client_1
profile_type: instance
parameter:
- name: login/min_password_lng
value: 16
- name: login/min_password_letters
value: 2
- name: login/min_password_digits
value: 2
- name: delete single profile parametes on single system in default profile
automatics_sap_profile_parameter:
hostname: automatics.example.org
auth_token: aW4iLCJlbWFpbCI6ImFkbWluIiw...
validate_certs: false
system:
type: sap
sid: AUT
client: 21
profile_type: default
parameter:
name: rdisp/max_wprun_time
value: ""
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Information on all triggered automatics executions Returned: always Sample: |