Upon further review I've found that the apt module is not reliably updating the apt cache when specified with an apt package list. This issue is directly related to a bug found with the ansible core modules here: [ https://github.com/ansible/ansible-modules-core/issues/1497 ]. To resolve this we need to move our cache update calls into its own task which will ensure that the apt cache is always updated as expected.
These are the following locations in the roles/playbooks that will need to be updated to fix this:
Upon further review I've found that the apt module is not reliably updating the apt cache when specified with an apt package list. This issue is directly related to a bug found with the ansible core modules here: [ https:/ /github. com/ansible/ ansible- modules- core/issues/ 1497 ]. To resolve this we need to move our cache update calls into its own task which will ensure that the apt cache is always updated as expected.
These are the following locations in the roles/playbooks that will need to be updated to fix this:
playbooks/ utility- install. yml:29: update_cache: yes roles/openstack _hosts/ tasks/openstack _host_packages. yml:20: update_cache: yes roles/lxc_ hosts/tasks/ lxc_install. yml:20: update_cache: yes roles/os_ horizon/ tasks/horizon_ install. yml:20: update_cache: yes roles/rabbitmq_ server/ tasks/rabbitmq_ install. yml:20: update_cache: yes roles/os_ glance/ tasks/glance_ install. yml:20: update_cache: yes roles/galera_ client/ tasks/galera_ client_ install. yml:20: update_cache: yes roles/rsyslog_ client/ tasks/rsyslog_ client_ install. yml:32: update_cache: yes roles/os_ cinder/ tasks/cinder_ install. yml:20: update_cache: yes roles/os_ swift/tasks/ swift_install. yml:20: update_cache: yes roles/os_ nova/tasks/ nova_install. yml:20: update_cache: yes roles/os_ nova/tasks/ nova_spice_ console_ install. yml:20: update_cache: yes roles/os_ nova/tasks/ nova_compute_ kvm_install. yml:20: update_cache: yes roles/os_ keystone/ tasks/keystone_ install. yml:20: update_cache: yes roles/os_ neutron/ tasks/neutron_ install. yml:20: update_cache: yes roles/rsyslog_ server/ tasks/rsyslog_ server_ install. yml:32: update_cache: yes roles/haproxy_ server/ tasks/haproxy_ install. yml:20: update_cache: yes roles/repo_ server/ tasks/repo_ install. yml:20: update_cache: yes roles/os_ heat/tasks/ heat_install. yml:20: update_cache: yes roles/memcached _server/ tasks/memcached _install. yml:20: update_cache: yes roles/galera_ server/ tasks/galera_ pre_install. yml:20: update_cache: yes roles/galera_ server/ tasks/galera_ install. yml:30: update_cache: yes
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/
playbooks/