44f63d92dc
If apt_repository fails to update the apt cache after updating the
configuration, retries don't register there was a change and so no
attempt is made to update the cache by the module on the second attempt.
This failure can result in a failure to install packages.
This change adds an apt module task to update the cache if the
apt_repository task registers a change. This means updating the cache
will get retried on failure and no longer fail silently.
Backport includes: https://review.openstack.org/547471
Change-Id: Id059dbec3466cb1ef3ea567249f52384a8ade515
Partial-Bug: #1750656
(cherry picked from commit
|
||
---|---|---|
.. | ||
install_apt.yml | ||
install_dnf.yml | ||
install_yum.yml | ||
install_zypper.yml | ||
main.yml | ||
rabbitmq_cluster_join.yml | ||
rabbitmq_cluster.yml | ||
rabbitmq_install.yml | ||
rabbitmq_post_install.yml | ||
rabbitmq_pre_install.yml | ||
rabbitmq_restart.yml | ||
rabbitmq_set_cookie.yml | ||
rabbitmq_ssl_key_create.yml | ||
rabbitmq_ssl_key_distribute.yml | ||
rabbitmq_ssl_key_store.yml | ||
rabbitmq_ssl_self_signed.yml | ||
rabbitmq_ssl_user_provided.yml | ||
rabbitmq_started.yml | ||
rabbitmq_stopped.yml | ||
rabbitmq_upgrade_check.yml | ||
rabbitmq_upgrade_prep.yml |