Set update_cache to yes when installing the required dependencies
This commit is contained in:
parent
9e9aba4e3a
commit
ea2f58f282
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
|||
action:
|
||||
module: "{{ ansible_pkg_mgr }}"
|
||||
name: "{{ item }}"
|
||||
update_cache: yes
|
||||
state: latest
|
||||
with_items: "{{required_pkgs | union(common_required_pkgs)}}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue