Skip to content

Commit 95bd99b

Browse files
authored
Change default Azure Netapp volume size to reflect 'chunks' used by underlying module (#79)
Signed-off-by: Webster Mudge <[email protected]>
1 parent 28b5650 commit 95bd99b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

roles/infrastructure/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ infra__azure_netapp_account_name: "{{ common__azure_netapp_account_name }}"
133133
infra__azure_netapp_pool_name: "{{ common__azure_netapp_pool_name }}"
134134
infra__azure_netapp_vol_name: "{{ common__azure_netapp_vol_name }}"
135135

136-
infra__azure_netapp_pool_size: "{{ infra.azure.netapp.pool.size | default(4) }}"
136+
infra__azure_netapp_pool_size: "{{ infra.azure.netapp.pool.size | default(1) }}" # 4TB 'chunks'
137137
infra__azure_netapp_pool_type: "{{ infra.azure.netapp.pool.type | default('Standard') }}"
138138
infra__azure_netapp_vol_size: "{{ infra.azure.netapp.volume.size | default(500) }}"
139139
infra__azure_netapp_vol_type: "{{ infra.azure.netapp.volume.type | default('Standard') }}"

roles/infrastructure/tasks/setup_azure_storage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
name: "{{ infra__azure_netapp_pool_name }}"
9292
state: present
9393
location: "{{ infra__region }}"
94-
size: "{{ infra__azure_netapp_pool_size }}"
94+
size: "{{ infra__azure_netapp_pool_size | int }}"
9595
service_level: "{{ infra__azure_netapp_pool_type }}"
9696

9797
- name: Handle Azure NetApp Volume

0 commit comments

Comments
 (0)