Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
338 B

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