Unsolved
41 Posts
0
282
Ansible Powerscale accesszone Auth Providers
Hi,
I'm trying to reorder my Auth Providers in the dellemc.powerscale.accesszone module.
However, no matter what I do I cannot reorder them.
I also tried to "remove" the Local one and them put them back one at a time, but the Local provider will not remove.
How can I accomplish this?
thanks.
glenn.
gdny
41 Posts
0
April 12th, 2023 07:00
I should also say that the output after trying to remove local shows that it was Actually removed:
As you can see, it only shows 1 provider and that one is System
But when I look in the GUI it shows
So is this really a GUI problem??
thanks.
glenn.
gdny
41 Posts
0
April 12th, 2023 07:00
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
0
April 12th, 2023 07:00
Hi @gdny
To remove the auth provider, the provider_state need to be specified as remove (eg below). Could you please share the playbook which you are using to remove the provider?
dellemc.powerscale.accesszone:
>> connection params
az_name: "{{access zone}}"
provider_state: "remove"
auth_providers:
- provider_name: "{{name}}"
provider_type: "{{type}}"
state: "present"
Thanks,
Jennifer
gdny
41 Posts
0
April 12th, 2023 08:00
Its not working but maybe a mistake in my last post showing you the wrong output.
I should have shown this:
This is what it shows when I try to delete Local. Please verify that this is what you are getting as well.
I tried this with the GUI and even though it lets you delete, and says it worked, when you go back in it shows that its not deleted. So this seems to be a System problem and not an Ansible issue.
However, I don't care so much because I'm just looking to re-order and it does seem to move it to the bottom which is all I need right now.
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
0
April 13th, 2023 04:00
Hi @gdny
Yes you are right, the local provider gets created by default and cannot be removed from the access zone.
Thanks,
Jennifer
gdny
41 Posts
0
April 13th, 2023 06:00
Thanks @jennifer_john.
So what is the preferred method for Arranging the order of Auth Providers?
The way I do it by trying to "remove" the Local one. But I have to assume there is a better way.
thanks.
glenn.
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
0
April 13th, 2023 11:00
Hi @gdny
Currently the module does not support arranging/ specifying the order of auth providers. The local provider is added by default and specifying other providers takes precedence over it. We will have a look on implementation of specifying the order through playbook.
Thanks,
Jennifer