This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
azure_rm_netapp_account
Chris Archibald edited this page Mar 18, 2021
·
1 revision
orphan: |
---|
Note
This plugin is part of the netapp.azure collection (version 21.3.0).
To install it use: ansible-galaxy collection install netapp.azure
.
To use it in a playbook, specify: netapp.azure.azure_rm_netapp_account
.
.. versionadded:: 19.10.0 of netapp.azure
- Create and delete NetApp Azure account. Provide the Resource group name for the NetApp account to be created.
The below requirements are needed on the host that executes this module.
- python >= 2.7
- azure >= 2.0.0
- Python azure-mgmt. Install using 'pip install azure-mgmt'
- Python azure-mgmt-netapp. Install using 'pip install azure-mgmt-netapp'
- For authentication with Azure NetApp log in before you run your tasks or playbook with
az login
.
Note
- The modules prefixed with azure_rm_netapp are built to support the Cloud Volume Services for Azure NetApp Files.
.. seealso:: `Sign in with Azure CLI <https://docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli?view=azure-cli-latest>`_ How to authenticate using the ``az login`` command.
- name: Create NetApp Azure Account
azure_rm_netapp_account:
resource_group: myResourceGroup
name: testaccount
location: eastus
tags: {'abc': 'xyz', 'cba': 'zyx'}
- name: Modify Azure NetApp account (Join AD)
azure_rm_netapp_account:
resource_group: myResourceGroup
name: testaccount
location: eastus
active_directories:
- site: ln
dns: 10.10.10.10
domain: domain.com
smb_server_name: dummy
password: xxxxxx
username: laurentn
- name: Delete NetApp Azure Account
azure_rm_netapp_account:
state: absent
resource_group: myResourceGroup
name: testaccount
location: eastus
- name: Create Azure NetApp account (with AD)
azure_rm_netapp_account:
resource_group: laurentngroupnodash
name: tests-netapp11
location: eastus
tags:
creator: laurentn
use: Ansible
active_directories:
- site: ln
dns: 10.10.10.10
domain: domain.com
smb_server_name: dummy
password: xxxxxx
username: laurentn
- NetApp Ansible Team (@carchi8py) <ng-ansibleteam@netapp.com>
Need Help? Join Netapp.Io Slack Channel #configurationmgmt
AWS
Azure
- azure_rm_netapp_account
- azure_rm_netapp_capacity_pool
- azure_rm_netapp_snapshot
- azure_rm_netapp_volume
Cloud Manager
- na_cloudmanager_aggregate
- na_cloudmanager_cifs_server
- na_cloudmanager_connector_aws
- na_cloudmanager_connector_azure
- na_cloudmanager_connector_gcp
- na_cloudmanager_cvo_aws
- na_cloudmanager_cvo_azure
- na_cloudmanager_cvo_gcp
- na_cloudmanager_info
- na_cloudmanager_nss_account
- na_cloudmanager_volume
ElementSW
ONTAP
StorageGrid
Um Info