Skip to content

Commit

Permalink
fix: es backup fixes (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
beepdot authored Jun 13, 2024
1 parent 77f15b0 commit a1f3eb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/es-gcs-snapshot/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ snapshot_create_request_body: {
}

# Override these values
es_snapshot_host: "localhost"
es_snapshot_host: "{{ ansible_host }}"
snapshot_base_path: "default"
es_gcs_backup_folder_name: "elasticsearch-snapshots"
es_gcs_backup_folder_name: "elasticsearch-snapshots-{{ es_snapshot_host }}"
2 changes: 1 addition & 1 deletion ansible/roles/es-gcs-snapshot/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
register: result
until: result.json.snapshots[0].state == 'SUCCESS'
retries: 120
delay: 10
delay: 60

0 comments on commit a1f3eb7

Please sign in to comment.