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

Feature Request - ONTAP user management #141

Open
rbenigno opened this issue Oct 27, 2022 · 3 comments
Open

Feature Request - ONTAP user management #141

rbenigno opened this issue Oct 27, 2022 · 3 comments
Labels
backend Issues related to the backend service or the APIs.

Comments

@rbenigno
Copy link

Working with a customer that wants to use a dedicated Ansible service account for CVO in their DevOps pipeline . We stand up CVO with Terraform, but there is no clean way (that I can find) to create an ONTAP account.

The current workaround is to have a step where Ansible creates the ONTAP account, and the real Ansible playbooks run after that under the new account. Would be great we could create the account as part of the Terraform build instead.

Thanks.

@lonico
Copy link
Contributor

lonico commented Oct 28, 2022

Are you using na_ontap_user with Ansible?

@rbenigno
Copy link
Author

Yes.

  - name: User Accounts
    na_ontap_user:
      <<: *login
      state: "{{ item.state | default('present') }}"
      vserver: "{{ item.vserver | default(cluster.ontap_info.cluster.name) }}"
      name: "{{ item.name }}"
      application_dicts: "{{ item.application_dicts }}"
      role_name: "{{ item.role_name }}"
      set_password: "{{ item.set_password }}"
    loop: "{{ users | default([]) }}"

@lonico lonico added the backend Issues related to the backend service or the APIs. label Jan 24, 2023
@lonico
Copy link
Contributor

lonico commented Jan 24, 2023

The CloudManager APIs do not provide a way to create a user account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to the backend service or the APIs.
Projects
None yet
Development

No branches or pull requests

2 participants