diff --git a/changelogs/fragments/azure_rm_storageaccount.yaml b/changelogs/fragments/azure_rm_storageaccount.yaml new file mode 100644 index 00000000000..c6a25499d88 --- /dev/null +++ b/changelogs/fragments/azure_rm_storageaccount.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: +- add azure_rm_storageaccount support to StorageV2 kind. (https://github.com/ansible/ansible/pull/44242) diff --git a/lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py b/lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py index 10b3ac2735b..64d4012618c 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py @@ -67,6 +67,7 @@ options: default: 'Storage' choices: - Storage + - StorageV2 - BlobStorage version_added: "2.2" access_tier: @@ -166,7 +167,7 @@ class AzureRMStorageAccount(AzureRMModuleBase): state=dict(default='present', choices=['present', 'absent']), force=dict(type='bool', default=False), tags=dict(type='dict'), - kind=dict(type='str', default='Storage', choices=['Storage', 'BlobStorage']), + kind=dict(type='str', default='Storage', choices=['Storage', 'StorageV2', 'BlobStorage']), access_tier=dict(type='str', choices=['Hot', 'Cool']) )