Set update_cache to yes when installing the required dependencies

This commit is contained in:
Jean-Christophe Sirot 2016-01-21 16:48:41 +01:00
parent 9e9aba4e3a
commit ea2f58f282

View file

@ -45,6 +45,7 @@
action:
module: "{{ ansible_pkg_mgr }}"
name: "{{ item }}"
update_cache: yes
state: latest
with_items: "{{required_pkgs | union(common_required_pkgs)}}"