APT cache is not updated at the end of the role #5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
APT cache is currently only updated if changes have been made via a handler. However, handlers aren't flushed until the end of the playbook by default, which means the update wont happen if you, for example, add the docker repo, then try to install docker, as the handlers will be flushed after the docker_install task.
To make it work, role should flush handler at the end of its run, probbly in main.yml
This is now fixed