controller_configuration
controller_configuration copied to clipboard
Ad_hoc value as role name should be adhoc in object diff
Summary
When using "adhoc" role as a permission, when it is retrieved from the API the value is "Ad Hoc", which gets converted to "ad_hoc" in https://github.com/redhat-cop/controller_configuration/blob/devel/plugins/lookup/controller_object_diff.py#L233
so it no longer matches with config as code, and object diff attempts to remove it
awx.awx role module expects it as "adhoc", not "ad_hoc" https://docs.ansible.com/ansible/latest/collections/awx/awx/role_module.html
Issue Type
- Bug Report