diff --git a/lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py b/lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py index fb0314e157..90423870a5 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py @@ -174,7 +174,8 @@ class AzureRMStorageAccount(AzureRMModuleBase): if HAS_AZURE: for key in self.storage_models.SkuName: - self.module_arg_spec['account_type']['choices'].append(getattr(key, 'value')) + if getattr(key, 'value') not in self.module_arg_spec['account_type']['choices']: + self.module_arg_spec['account_type']['choices'].append(getattr(key, 'value')) self.results = dict( changed=False,