This is an automated email from the ASF dual-hosted git repository.
arvindsh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-muchos.git
The following commit(s) were added to refs/heads/main by this push:
new a2777e6 Use account_type in Azure azure_rm_storageaccount (#441)
a2777e6 is described below
commit a2777e606eab3182e7840c1779b156c4ce52ead0
Author: Arvind Shyamsundar <[email protected]>
AuthorDate: Mon Nov 27 10:07:45 2023 -0800
Use account_type in Azure azure_rm_storageaccount (#441)
The change in #437 to use azure_rm_storageaccount to create the ADLS
Gen2 storage account used a deprecated property `type` to specify the
storage account type. In this PR we change that to `account_type`.
---
ansible/roles/azure/tasks/create_adlsgen2.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ansible/roles/azure/tasks/create_adlsgen2.yml
b/ansible/roles/azure/tasks/create_adlsgen2.yml
index d4fedd0..372b50f 100644
--- a/ansible/roles/azure/tasks/create_adlsgen2.yml
+++ b/ansible/roles/azure/tasks/create_adlsgen2.yml
@@ -76,12 +76,12 @@
line: "instance_volumes_adls = {{ InstanceVolumes|join(',') }}"
# Not registering variable because storage values are not visible immediately
-- name: Create ADLS Gen2 storage account using REST API
+- name: Create ADLS Gen2 storage account
azure.azcollection.azure_rm_storageaccount:
state: present
resource_group: "{{ resource_group }}"
name: "{{ item.split('@')[1].split('.')[0] }}"
- type: "{{ adls_storage_type }}"
+ account_type: "{{ adls_storage_type }}"
kind: "StorageV2"
is_hns_enabled: True
location: "{{ location }}"