mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
redhat_subscription: Add server_prefix and server_port as supported arguments (#2779)
* Add server_prefix and server_port as supported arguments for the redhat_subscription module. * Adjust the argument sequence in the test case to be consistent with the original code in line 364 in redhat_subscription.py and add the changelog fragment. * Grammatical changes such as adding full stops and using 'an HTTP' instead of 'a HTTP'. * Commit the suggested changelog update. Co-authored-by: Amin Vakil <info@aminvakil.com> * Fix typo. Co-authored-by: Amin Vakil <info@aminvakil.com> Co-authored-by: Amin Vakil <info@aminvakil.com>
This commit is contained in:
parent
adf50b106a
commit
2f2f384b4e
3 changed files with 60 additions and 3 deletions
|
@ -32,7 +32,7 @@ options:
|
|||
type: str
|
||||
username:
|
||||
description:
|
||||
- access.redhat.com or Sat6 username
|
||||
- access.redhat.com or Sat6 username
|
||||
type: str
|
||||
password:
|
||||
description:
|
||||
|
@ -46,6 +46,16 @@ options:
|
|||
description:
|
||||
- Enable or disable https server certificate verification when connecting to C(server_hostname)
|
||||
type: str
|
||||
server_prefix:
|
||||
description:
|
||||
- Specify the prefix when registering to the Red Hat Subscription Management or Sat6 server.
|
||||
type: str
|
||||
version_added: 3.3.0
|
||||
server_port:
|
||||
description:
|
||||
- Specify the port when registering to the Red Hat Subscription Management or Sat6 server.
|
||||
type: str
|
||||
version_added: 3.3.0
|
||||
rhsm_baseurl:
|
||||
description:
|
||||
- Specify CDN baseurl
|
||||
|
@ -56,11 +66,11 @@ options:
|
|||
type: str
|
||||
server_proxy_hostname:
|
||||
description:
|
||||
- Specify a HTTP proxy hostname
|
||||
- Specify an HTTP proxy hostname.
|
||||
type: str
|
||||
server_proxy_port:
|
||||
description:
|
||||
- Specify a HTTP proxy port
|
||||
- Specify an HTTP proxy port.
|
||||
type: str
|
||||
server_proxy_user:
|
||||
description:
|
||||
|
@ -782,6 +792,8 @@ def main():
|
|||
'password': {'no_log': True},
|
||||
'server_hostname': {},
|
||||
'server_insecure': {},
|
||||
'server_prefix': {},
|
||||
'server_port': {},
|
||||
'rhsm_baseurl': {},
|
||||
'rhsm_repo_ca_cert': {},
|
||||
'auto_attach': {'aliases': ['autosubscribe'], 'type': 'bool'},
|
||||
|
@ -827,6 +839,8 @@ def main():
|
|||
password = module.params['password']
|
||||
server_hostname = module.params['server_hostname']
|
||||
server_insecure = module.params['server_insecure']
|
||||
server_prefix = module.params['server_prefix']
|
||||
server_port = module.params['server_port']
|
||||
rhsm_baseurl = module.params['rhsm_baseurl']
|
||||
rhsm_repo_ca_cert = module.params['rhsm_repo_ca_cert']
|
||||
auto_attach = module.params['auto_attach']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue