sap.sap_operations.subscription_manager role – Register host with subscription-manager
Note
This role 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.subscription_manager
.
Entry point __dependencies__
– Dependencies
Synopsis
None
Entry point __examples__
– Example Playbooks
Synopsis
name: Run role subscription_manager (registered)
ansible.builtin.include_role:
name: sap.sap_operations.subscription_manager
name: Run role subscription_manager (unregistered)
ansible.builtin.include_role:
name: sap.sap_operations.subscription_manager
vars:
subscription_manager_state: unregistered
Entry point __license__
– License
Synopsis
GPL-3.0-only
Entry point __limitations__
– Limitations
Synopsis
Entry point main
– Register host with subscription-manager
Synopsis
Register host with subscription-manager
Role is suitable for containers as well
Role expects that ansible_user can sudo to root
Role expects that subscription-manager tool is already present
Parameters
Parameter |
Comments |
---|---|
Activation key to use for registration Organization and Activation key are both required together - role will fail if one is defined and another is not |
|
Organization to use for registration Organization and Activation key are both required together - role will fail if one is defined and another is not |
|
Password to use for registration Username and Password are both required together - role will fail if one is defined and another is not If Username and Password are defined they will be used over org and Activation key |
|
Final state after role applied Choices:
|
|
Username to use for registration Username and Password are both required together - role will fail if one is defined and another is not If Username and Password are defined they will be used over org and Activation key |
|
Internal role variable used to validate variables Choices:
|
Entry point noop
– Register host with subscription-manager
Synopsis
Register host with subscription-manager
Role is suitable for containers as well
Role expects that ansible_user can sudo to root
Role expects that subscription-manager tool is already present
Parameters
Parameter |
Comments |
---|---|
Activation key to use for registration Organization and Activation key are both required together - role will fail if one is defined and another is not |
|
Organization to use for registration Organization and Activation key are both required together - role will fail if one is defined and another is not |
|
Password to use for registration Username and Password are both required together - role will fail if one is defined and another is not If Username and Password are defined they will be used over org and Activation key |
|
Final state after role applied Choices:
|
|
Username to use for registration Username and Password are both required together - role will fail if one is defined and another is not If Username and Password are defined they will be used over org and Activation key |
|
Internal role variable used to validate variables Choices:
|