theforeman / foreman-ansible-modules

Ansible modules for interacting with the Foreman API and various plugin APIs such as Katello
GNU General Public License v3.0
145 stars 162 forks source link

Update _create_content_view.yml #1747

Open bkaraoren opened 1 week ago

bkaraoren commented 1 week ago

This module does not use those two variables when creating filter. rules. It is also not stated in the documentation of Satellite collection module. @evgeni I guess this was not used before, and can we have changes as soon as possible

the error below can be seen as follows when using the role.

failed: [aphrodite.internal.showroom.run] (item={'name': 'Include_All_Packages_No_Errata', 'filter_type': 'rpm', 'inclusion': True, 'description': 'Include all rpms with no errata for all repositories', 'original_packages': True}) => {"ansible_loop_var": "item", "changed": false, "item": {"description": "Include all rpms with no errata for all repositories", "filter_type": "rpm", "inclusion": true, "name": "Include_All_Packages_No_Errata", "original_packages": true}, "msg": "Unsupported parameters for (redhat.satellite.content_view_filter_rule) module: original_packages. Supported parameters include: architecture, content_view, content_view_filter, context, date_type, end_date, errata_id, max_version, min_version, name, organization, password, server_url, start_date, state, stream, types, username, validate_certs, version (arch, module_name, package_group, package_name, rule_name, tag)."}
failed: [aphrodite.internal.showroom.run] (item={'name': 'Include_All_Streams_No_Errata', 'filter_type': 'modulemd', 'inclusion': True, 'description': 'Include all module streams with no errata for all repositories', 'original_module_streams': True}) => {"ansible_loop_var": "item", "changed": false, "item": {"description": "Include all module streams with no errata for all repositories", "filter_type": "modulemd", "inclusion": true, "name": "Include_All_Streams_No_Errata", "original_module_streams": true}, "msg": "Unsupported parameters for (redhat.satellite.content_view_filter_rule) module: original_module_streams. Supported parameters include: architecture, content_view, content_view_filter, context, date_type, end_date, errata_id, max_version, min_version, name, organization, password, server_url, start_date, state, stream, types, username, validate_certs, version (arch, module_name, package_group, package_name, rule_name, tag)."}