sap.sap_operations.swdc_auth_info module – Fetch http requests headers to communicate with SAP software download center (SWDC)
Note
This module is part of the sap.sap_operations collection.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install sap.sap_operations
.
To use it in a playbook, specify: sap.sap_operations.swdc_auth_info
.
New in sap.sap_operations 1.30.0
Synopsis
Fetch http requests headers to communicate with SAP software download center (SWDC)
Information is fetched from https://softwaredownloads.sap.com
Parameters
Parameter |
Comments |
---|---|
password of the username. |
|
URL to fetch headers for |
|
username of SAP support portal. Either universal id or suser. |
Notes
Note
This module is community supported
Module interface (parameters, output) expected to be stable but not guaranteed
Module planned to be released on Ansible Automation Hub after collecting some feedback
There is no guarantee that this module will be officially supported by Red Hat
Examples
---
- name: Run swdc_auth_info
sap.sap_operations.swdc_auth_info:
username: "{{ lookup('ansible.builtin.env', 'LP_EMAIL') }}"
password: "{{ lookup('ansible.builtin.env', 'LP_PASSWORD') }}"
url: https://softwaredownloads.sap.com/file/0020000000098712022
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
List of dictionaries with information about download basket items Returned: success Sample: |
|
Accept header Returned: success Sample: |
|
Accept-Encoding header Returned: success Sample: |
|
Connection header Returned: success Sample: |
|
Cookie header Returned: success Sample: |