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:
James E. Blair 2022-08-15 10:53:39 -07:00
parent 357e6fa6f9
commit 5ebf086442

View File

@ -1,3 +1,8 @@
- name: Update apt cache
become: true
apt:
update_cache: yes
- name: Install JDK
become: true
package: