-
Notifications
You must be signed in to change notification settings - Fork 1.7k
rundeck_acl_policy: fix project acls are put/posted to the wrong endpoint #10097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rundeck_acl_policy: fix project acls are put/posted to the wrong endpoint #10097
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! I've added a first comment.
changelogs/fragments/10097-fix-rundeck_acl_policy-project-endpoint.yml
Outdated
Show resolved
Hide resolved
…oint.yml Co-authored-by: Felix Fontein <[email protected]>
If nobody objects, I'll merge this in a few days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Backport to stable-9: 💚 backport PR created✅ Backport PR branch: Backported as #10150 🤖 @patchback |
…oint (#10097) * Fix project acls are put/posted to the wrong endpoint * Add changelog fragment. * Fix 2.7 sanity errors in github * Fix fragment extension and use 2.7 syntax in test * Update changelogs/fragments/10097-fix-rundeck_acl_policy-project-endpoint.yml Co-authored-by: Felix Fontein <[email protected]> * Fix pep8 formatting * Add licensing to unit test --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit ff0ed6f)
Backport to stable-10: 💚 backport PR created✅ Backport PR branch: Backported as #10151 🤖 @patchback |
…oint (#10097) * Fix project acls are put/posted to the wrong endpoint * Add changelog fragment. * Fix 2.7 sanity errors in github * Fix fragment extension and use 2.7 syntax in test * Update changelogs/fragments/10097-fix-rundeck_acl_policy-project-endpoint.yml Co-authored-by: Felix Fontein <[email protected]> * Fix pep8 formatting * Add licensing to unit test --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit ff0ed6f)
…ct acls are put/posted to the wrong endpoint (#10150) rundeck_acl_policy: fix project acls are put/posted to the wrong endpoint (#10097) * Fix project acls are put/posted to the wrong endpoint * Add changelog fragment. * Fix 2.7 sanity errors in github * Fix fragment extension and use 2.7 syntax in test * Update changelogs/fragments/10097-fix-rundeck_acl_policy-project-endpoint.yml * Fix pep8 formatting * Add licensing to unit test --------- (cherry picked from commit ff0ed6f) Co-authored-by: kjoyce77 <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
…ect acls are put/posted to the wrong endpoint (#10151) rundeck_acl_policy: fix project acls are put/posted to the wrong endpoint (#10097) * Fix project acls are put/posted to the wrong endpoint * Add changelog fragment. * Fix 2.7 sanity errors in github * Fix fragment extension and use 2.7 syntax in test * Update changelogs/fragments/10097-fix-rundeck_acl_policy-project-endpoint.yml * Fix pep8 formatting * Add licensing to unit test --------- (cherry picked from commit ff0ed6f) Co-authored-by: kjoyce77 <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
…oint (ansible-collections#10097) * Fix project acls are put/posted to the wrong endpoint * Add changelog fragment. * Fix 2.7 sanity errors in github * Fix fragment extension and use 2.7 syntax in test * Update changelogs/fragments/10097-fix-rundeck_acl_policy-project-endpoint.yml Co-authored-by: Felix Fontein <[email protected]> * Fix pep8 formatting * Add licensing to unit test --------- Co-authored-by: Felix Fontein <[email protected]>
SUMMARY
The original author of this module did not include logic for when the project is specified for the acl despite adding the option to the doc. This change adds logic that will post/put the acl to the project path if the project is specified.
ISSUE TYPE
COMPONENT NAME
rundeck_acl_policy
ADDITIONAL INFORMATION
The second of these steps fail.
When running the playbook the second step fails, not because of the absence of test_project, but because the acl is seen as invalid since the module is posting to the system endpoint.