A collection of roles to manage Ansible Controller and previously Ansible Tower
GNU General Public License v3.0
263
stars
136
forks
source link
"Approve" value as role name should be "approval" in object diff #879
Closed
bogdanmuresan closed 1 month ago
Summary
When using "approval" role as a permission for a workflow, when it is retrieved from the API the value is "Approve", which gets converted to "approve" in https://github.com/redhat-cop/controller_configuration/blob/devel/plugins/lookup/controller_object_diff.py#L234
so it no longer matches with config as code, and object diff attempts to remove it and throws error:
awx.awx role module expects it as "approval", not "approve" https://docs.ansible.com/ansible/latest/collections/awx/awx/role_module.html