Problem:
Unable to provide repositories input in content view filter Expected outcome:
The repository should be fetched Other relevant data:
Here is my playbook
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Elements value for option repositories is of type <class 'str'> and we were unable to convert to dict: dictionary requested, could not parse JSON or key=value"}
The required output is package-group “Core” should be fetched from the BaseOS repository. Any help would be appreciated
- name: Filter
theforeman.foreman.content_view_filter:
username: "admin"
...
rule_name: "Core"
repositories:
- name: "Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8"
product: "Red Hat Enterprise Linux for x86_64"