dokku / ansible-dokku

Ansible modules for installing and configuring Dokku
MIT License
169 stars 44 forks source link

fix package pinning #100

Closed ltalirz closed 3 years ago

ltalirz commented 3 years ago

After PR 97, package pinning was not necessarily reflected in the packages actually installed since the ansible apt module with state: present does not ensure that packages comply with a pinned version - it only makes sure the package is present.

In order to install the pinned version of a package that is already present, the version needs to be passed to the apt module explicitly. This was the case prior to PR 97 and is reintroduced here.