I'm not sure why I'm getting this warning. I've already checked the apt module and it says:
update_cache
bool
Choices:
no ←
yes
Run the equivalent of apt-get update before the operation. Can be run as part of the package installation or as a separate step.
These are the two instances in which update_cache is present:
- name: Install Apache
apt:
name: apache2
state: present
update_cache: yes
- name: install php7.2-fpm and all necessary modules
apt: name={{ item }} state=present
with_items:
- php7.2-fpm
- php7.2-gd
- php7.2-curl
- php7.2-mysql
#- php7.2-mcrypt
- php7.2-mbstring
- php7.2-xml
update_cache: yes
when: ppastable is success
Any ideas why I'm getting this warning?