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