Ensure-java: update apt cache
We should update the apt cache before attempting to install a package. Change-Id: I6b1058e581815ceb194ca0cbb1c6e1b8e93928e6
This commit is contained in:
parent
357e6fa6f9
commit
5ebf086442
@ -1,3 +1,8 @@
|
||||
- name: Update apt cache
|
||||
become: true
|
||||
apt:
|
||||
update_cache: yes
|
||||
|
||||
- name: Install JDK
|
||||
become: true
|
||||
package:
|
||||
|
Loading…
Reference in New Issue
Block a user