-
Bug
-
Resolution: Done
-
Normal
-
6.13.0, 6.14.0, 6.15.0
-
3
-
False
-
ansible-collection-redhat-satellite-5.7.0
-
Satellite Rocket Sprint 7
-
sat-rocket
-
None
-
None
-
None
-
Automated
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.