1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-29 00:23:34 +02:00
2022-01-25 15:00:05 +01:00

19 lines
343 B
YAML

---
- name: Declare repo in ElasticSearch
uri:
url: http://localhost:{{ es_port }}/_snapshot/lbkp
method: PUT
body:
type: fs
settings:
compress: True
location: "{{ es_root_dir }}/backup"
body_format: json
register: es_lbkp
until: es_lbkp.failed == False
retries: 20
delay: 10
tags: es