ansible-role-elasticsearch/molecule/default/converge.yml

29 lines
575 B
YAML
Raw Normal View History

2019-09-05 13:48:41 +00:00
---
2020-02-29 22:35:57 +00:00
- name: Converge
hosts: all
2022-04-07 13:01:01 +00:00
roles:
- ansible-role-elasticsearch
2019-09-05 13:48:41 +00:00
vars:
2023-09-29 13:54:34 +00:00
elasticsearch_password: mysecret
2019-11-21 12:06:01 +00:00
elasticsearch_heap_size: 512m
2023-09-29 13:54:34 +00:00
elasticsearch_users:
toto:
password: supers3cret
roles:
- viewer
2019-11-21 12:15:34 +00:00
elasticsearch_index_templates:
test:
index_patterns:
- 'hello*'
settings:
index:
number_of_replicas: 1
mappings:
metrics:
type: short
2022-04-07 13:01:01 +00:00
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: true