mirror of https://github.com/ansible/ansible.git
iam_role.py remove_policies should remove all of the requested policies (not just the first) (#56331)
The remove_policies function in iam_role.py enumerates a list of policies to remove. However, due to an indentation issue on the return True line, only the first such policy would be removed. This change outdents the return True so that all of the the requested policies are removed.pull/56681/head
parent
493cf817a9
commit
d8a5efa00c
Loading…
Reference in New Issue