-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
I'm unable to query the Red Hat Satellite content_view_histories resource using the Ansible collection/module redhat.satellite.resource_info.
Example playbook
—
- name: Testing playbook for Red Hat Debug
hosts: localhost
gather_facts: false
tasks:
- name: Gather CV history
redhat.satellite.resource_info:
username: "admin"
password: "XXXXX"
server_url: "https://satXXXXX.example.com/users/login"
resource: content_view_histories
params:
id: 1
validate_certs: false
register: cv_history
~~~
~]# ansible-playbook cvplay.yaml
PLAY [Testing playbook for Red Hat Debug] *****************************************************
TASK [Gather CV history] **********************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to show resource: KeyError: \"Unknown action 'show'. Supported actions: index\""}
*************************************************
I see the following issue open for Foreman as well for the past couple of years, with no solution:
https://github.com/theforeman/foreman-ansible-modules/issues/1631
This appears to be a bug in the collection.
QE Tracker for https://issues.redhat.com/browse/SAT-35917