Skip to content
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

iam_role.py remove_policies should remove all of the requested polici… #56331

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
2 participants
@mhoroschun
Copy link

commented May 12, 2019

…es (not just the first)

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.

SUMMARY

Fixes #56329

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

iam_role

ADDITIONAL INFORMATION

iam_role.py remove_policies should remove all of the requested polici…
…es (not just the first)

<!--- Your description here -->
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.
@ansibot

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

@ansibot

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

@mhoroschun, just so you are aware we have a dedicated Working Group for aws.
You can find other people interested in this in #ansible-aws on Freenode IRC
For more information about communities, meetings and agendas see https://github.com/ansible/community

click here for bot help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.