geerlingguy / ansible-role-elasticsearch

Ansible Role - Elasticsearch
https://galaxy.ansible.com/geerlingguy/elasticsearch/
MIT License
185 stars 209 forks source link

setting update_cache to true #94

Closed chadek closed 1 year ago

chadek commented 1 year ago

In some cases, if cache isn't updated, gnupg2 package does not appear on apt package list and consequently role fail. It happened when I was testing a other role depending on this one.

I suggest to add update apt cache to resolve this issue

chadek commented 1 year ago

Just saw the pre_tasks trick on molecule converge file