You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: "Read all SCA with full details"theforeman.foreman.resource_info:
<<: *auth_paramsresource: simple_content_accessfull_details: trueregister: result
- debug:
var: result.resources
EXPECTED RESULTS
Info about the organizations SCA setting
ACTUAL RESULTS
TASK [or_smart_proxy_content : Read all SCA with full details] *********************************************
Thursday 22 February 2024 12:43:30 +0100 (0:00:00.075) 0:00:05.057 *****
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to list resource: KeyError: \"Unknown action 'index'. Supported actions: disable, eligible, enable, status\""}
The text was updated successfully, but these errors were encountered:
If you run the module with an unsupported "resource" all supported "resources" are listed incl. simple_content_access, this lets me assume i can use it.
It should then perhaps not be listed.
SUMMARY
theforeman.foreman.resource_info seems to use index were no index is allowed
ISSUE TYPE
ANSIBLE VERSION
COLLECTION VERSION
KATELLO/FOREMAN VERSION
STEPS TO REPRODUCE
EXPECTED RESULTS
Info about the organizations SCA setting
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: