This is the only ANXS playbook I've noted that runs update_cache
while installing packages. I think it's better to depend on https://github.com/ANXS/apt (or not), which is able to check how recent the cache was updated, and save time. I noticed this because the speed difference had an impact on a slow connection.
- name: MySQL | Make sure the MySQL packages are installed
apt:
pkg: "{{item}}"
update_cache: yes
with_items: mysql_packages