nickjj / ansible-docker

Install / Configure Docker and Docker Compose using Ansible.
MIT License
750 stars 224 forks source link

Update apt cache before installing packages #108

Closed gthieleb closed 3 years ago

gthieleb commented 3 years ago

In recent versions of debian it is required to update the package cache before installation of further packages is possible.

Please add the update_cache: true to the apt module parameters.

https://github.com/nickjj/ansible-docker/blob/a284dde4e0fa36c2be97c416e4e0eb6deedf28f8/tasks/main.yml#L19

nickjj commented 3 years ago

Hi,

Thanks but this has been discussed in the past in https://github.com/nickjj/ansible-docker/pull/59#issuecomment-513504141.