test: add cache update

This commit is contained in:
Adrien Waksberg 2022-04-07 15:01:01 +02:00
parent caa0b35b38
commit 3505e157d9

View file

@ -1,6 +1,8 @@
---
- name: Converge
hosts: all
roles:
- ansible-role-elasticsearch
vars:
elasticsearch_heap_size: 512m
elasticsearch_index_templates:
@ -13,10 +15,8 @@
mappings:
metrics:
type: short
roles:
- ansible-role-elasticsearch
#
# tasks:
# - name: "Include ansible-role-elasticsearch"
# include_role:
# name: "ansible-role-elasticsearch"
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: true