1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Katello: Added product to the dict choices (#49776)

* Added product to the dict choices.

Following issue 48594 where product is not a recognised choice: https://github.com/ansible/ansible/issues/48594

* fixed doc

added - product to the doc

* split line 549

to correct ci test splitting line 549

* Create 49776-product_fix_katello_foreman_module.yaml

changelog fragment creation
This commit is contained in:
arsenicks 2019-02-22 03:27:34 -05:00 committed by John R Barker
parent 28dadc9e18
commit d3fcdae4ad
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- "remote_management foreman - Fixed issue where it was impossible to createdelete a product because product was missing in dict choices ( https://github.com/ansible/ansible/issues/48594 )"

View file

@ -53,6 +53,7 @@ options:
- content_view - content_view
- lifecycle_environment - lifecycle_environment
- activation_key - activation_key
- product
required: true required: true
action: action:
@ -545,7 +546,8 @@ def main():
username=dict(type='str', required=True, no_log=True), username=dict(type='str', required=True, no_log=True),
password=dict(type='str', required=True, no_log=True), password=dict(type='str', required=True, no_log=True),
entity=dict(type='str', required=True, entity=dict(type='str', required=True,
choices=['repository', 'manifest', 'repository_set', 'sync_plan', 'content_view', 'lifecycle_environment', 'activation_key']), choices=['repository', 'manifest', 'repository_set', 'sync_plan',
'content_view', 'lifecycle_environment', 'activation_key', 'product']),
action=dict(type='str', choices=['sync', 'publish', 'promote']), action=dict(type='str', choices=['sync', 'publish', 'promote']),
verify_ssl=dict(type='bool', default=False), verify_ssl=dict(type='bool', default=False),
task_timeout=dict(type='int', default=1000), task_timeout=dict(type='int', default=1000),