Skip to content

Commit a1f3eb7

Browse files
authored
fix: es backup fixes (#19)
1 parent 77f15b0 commit a1f3eb7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ansible/roles/es-gcs-snapshot/defaults/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ snapshot_create_request_body: {
77
}
88

99
# Override these values
10-
es_snapshot_host: "localhost"
10+
es_snapshot_host: "{{ ansible_host }}"
1111
snapshot_base_path: "default"
12-
es_gcs_backup_folder_name: "elasticsearch-snapshots"
12+
es_gcs_backup_folder_name: "elasticsearch-snapshots-{{ es_snapshot_host }}"

ansible/roles/es-gcs-snapshot/tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@
3939
register: result
4040
until: result.json.snapshots[0].state == 'SUCCESS'
4141
retries: 120
42-
delay: 10
42+
delay: 60

0 commit comments

Comments
 (0)