Skip to content

Commit 2df0fe4

Browse files
authored
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
1 parent b8d7b88 commit 2df0fe4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ansible/roles/log-es6/tasks/plugins/repository-oci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,33 @@
44
shell: echo "{{ cloud_management_storage_accountname }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.access_key
55
no_log: True
66
environment:
7-
ES_PATH_CONF: "{{ conf_dir }}"
7+
ES_PATH_CONF: "{{ es_conf_dir }}"
88

99
- name: Add default oci account key for backups
1010
become: yes
1111
shell: echo "{{ cloud_management_storage_secret }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.secret_key
1212
no_log: True
1313
environment:
14-
ES_PATH_CONF: "{{ conf_dir }}"
14+
ES_PATH_CONF: "{{ es_conf_dir }}"
1515

1616

1717
- name: Add default oci endpoint for backups
1818
become: yes
1919
shell: echo "{{ cloud_management_storage_endpoint }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.endpoint
2020
no_log: True
2121
environment:
22-
ES_PATH_CONF: "{{ conf_dir }}"
22+
ES_PATH_CONF: "{{ es_conf_dir }}"
2323

2424
- name: Add default oci region for backups
2525
become: yes
2626
shell: echo "{{ cloud_management_storage_region }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.region
2727
no_log: True
2828
environment:
29-
ES_PATH_CONF: "{{ conf_dir }}"
29+
ES_PATH_CONF: "{{ es_conf_dir }}"
3030

3131
- name: Add default path-style access for backups
3232
become: yes
3333
shell: echo "{{ cloud_management_storage_path_style_access }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.path_style_access
3434
no_log: True
3535
environment:
36-
ES_PATH_CONF: "{{ conf_dir }}"
36+
ES_PATH_CONF: "{{ es_conf_dir }}"

0 commit comments

Comments
 (0)