From 3505e157d951911cd8e141fb82eec906c99aca7c Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Thu, 7 Apr 2022 15:01:01 +0200 Subject: [PATCH] test: add cache update --- molecule/default/converge.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index a098a8b..2b3140c 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -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