From 2df0fe4f8e3cd3dbba7b10bd228331d4b82005d0 Mon Sep 17 00:00:00 2001 From: akulavasu <34706681+akulavasu@users.noreply.github.com> Date: Thu, 21 Dec 2023 16:17:56 +0530 Subject: [PATCH] Update repository-oci.yml Renamed to correct variable name as mentioned in defaults. Ref: https://github.com/project-sunbird/sunbird-devops/blob/release-6.0.0/ansible/roles/log-es6/defaults/main.yml --- ansible/roles/log-es6/tasks/plugins/repository-oci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/roles/log-es6/tasks/plugins/repository-oci.yml b/ansible/roles/log-es6/tasks/plugins/repository-oci.yml index 02a2b45f45..3018905845 100644 --- a/ansible/roles/log-es6/tasks/plugins/repository-oci.yml +++ b/ansible/roles/log-es6/tasks/plugins/repository-oci.yml @@ -4,14 +4,14 @@ shell: echo "{{ cloud_management_storage_accountname }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.access_key no_log: True environment: - ES_PATH_CONF: "{{ conf_dir }}" + ES_PATH_CONF: "{{ es_conf_dir }}" - name: Add default oci account key for backups become: yes shell: echo "{{ cloud_management_storage_secret }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.secret_key no_log: True environment: - ES_PATH_CONF: "{{ conf_dir }}" + ES_PATH_CONF: "{{ es_conf_dir }}" - name: Add default oci endpoint for backups @@ -19,18 +19,18 @@ shell: echo "{{ cloud_management_storage_endpoint }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.endpoint no_log: True environment: - ES_PATH_CONF: "{{ conf_dir }}" + ES_PATH_CONF: "{{ es_conf_dir }}" - name: Add default oci region for backups become: yes shell: echo "{{ cloud_management_storage_region }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.region no_log: True environment: - ES_PATH_CONF: "{{ conf_dir }}" + ES_PATH_CONF: "{{ es_conf_dir }}" - name: Add default path-style access for backups become: yes shell: echo "{{ cloud_management_storage_path_style_access }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.path_style_access no_log: True environment: - ES_PATH_CONF: "{{ conf_dir }}" \ No newline at end of file + ES_PATH_CONF: "{{ es_conf_dir }}"