Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

nsx_manager_role fails if account already exists and state is 'present'. #86

Open
kierenhamps opened this issue Jul 29, 2019 · 0 comments · May be fixed by #87
Open

nsx_manager_role fails if account already exists and state is 'present'. #86

kierenhamps opened this issue Jul 29, 2019 · 0 comments · May be fixed by #87

Comments

@kierenhamps
Copy link

kierenhamps commented Jul 29, 2019

When running the module 'nsx_manager_roles' with state set to 'present' if the account doesn't exist it works fine, but on running it for a second time (with the account existing) nsxramlclient gets a 4xx status back from nsx stating that the account already exists. This causes the task to fail in ansible.

Expected outcome would be for the task to state changed is False and move on happily.

@kierenhamps kierenhamps linked a pull request Jul 29, 2019 that will close this issue
@kierenhamps kierenhamps changed the title nsx_manager_role fails if account already exists and status is 'present'. nsx_manager_role fails if account already exists and state is 'present'. Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant