From 6654d6956982c31bbfe6eb22aae557049ea613ba Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 5 Dec 2017 14:50:59 +0530 Subject: [PATCH] Fix incorrect formatting call in azure module (#33561) Fix corrects formatting call in azure_rm_resourcegroup_facts module. Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/cloud/azure/azure_rm_resourcegroup_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/azure/azure_rm_resourcegroup_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_resourcegroup_facts.py index 7dbcc74ea1..768302978d 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_resourcegroup_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_resourcegroup_facts.py @@ -144,7 +144,7 @@ class AzureRMResourceGroupFacts(AzureRMModuleBase): try: response = self.rm_client.resource_groups.list() except CloudError as exc: - self.fail("Failed to list all items - {1}".format(str(exc))) + self.fail("Failed to list all items - {0}".format(str(exc))) results = [] for item in response: