From f5653ccf47998510a3a80d20b8f3189d51720363 Mon Sep 17 00:00:00 2001 From: Keshav Prasad Date: Wed, 7 Sep 2022 00:11:36 +0530 Subject: [PATCH] fix: renamed management resource group variable --- ansible/roles/es-azure-snapshot/defaults/main.yml | 2 +- ansible/roles/es-azure-snapshot/tasks/main.yml | 2 +- private_repo/ansible/inventory/dev/Core/common.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/es-azure-snapshot/defaults/main.yml b/ansible/roles/es-azure-snapshot/defaults/main.yml index bb26b1bfd3..8e2fb72cc3 100644 --- a/ansible/roles/es-azure-snapshot/defaults/main.yml +++ b/ansible/roles/es-azure-snapshot/defaults/main.yml @@ -11,5 +11,5 @@ es_snapshot_host: "localhost" snapshot_base_path: "default" azure_management_storage_account_name: "{{ sunbird_management_storage_account }}" -azure_management_resource_group_name: "{{ azure_management_resource_group_name }}" +azure_management_storage_resource_group_name: "{{ azure_management_storage_resource_group_name }}" es_azure_backup_folder_name: "elasticsearch-snapshots" \ No newline at end of file diff --git a/ansible/roles/es-azure-snapshot/tasks/main.yml b/ansible/roles/es-azure-snapshot/tasks/main.yml index def329a545..24b05050c9 100644 --- a/ansible/roles/es-azure-snapshot/tasks/main.yml +++ b/ansible/roles/es-azure-snapshot/tasks/main.yml @@ -6,7 +6,7 @@ - name: Ensure backup folder exists in azure blob azure_rm_storageblob: - resource_group: "{{ azure_management_resource_group_name }}" + resource_group: "{{ azure_management_storage_resource_group_name }}" storage_account_name: "{{ azure_management_storage_account_name }}" container: "{{ es_azure_backup_folder_name }}" state: present diff --git a/private_repo/ansible/inventory/dev/Core/common.yml b/private_repo/ansible/inventory/dev/Core/common.yml index 6264c92555..ca3d13c460 100644 --- a/private_repo/ansible/inventory/dev/Core/common.yml +++ b/private_repo/ansible/inventory/dev/Core/common.yml @@ -29,7 +29,7 @@ sunbird_management_storage_account_name: "change.azure.storage.account.name" # Management Storage Account azure_management_tenant_id: "" azure_management_subscription_id: "" -azure_management_resource_group_name: "" +azure_management_storage_resource_group_name: "" azure_management_client_id: "" azure_management_storage_account_name: ""