Update apt cache before java install. Good idea to do this for first package and especialy needed for AWS/EC2
This commit is contained in:
parent
a29ead8dc9
commit
2c72023881
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Debian specific Java
|
||||
- name: Debian - Ensure Java is installed
|
||||
apt: name={{ item }} state=present cache_valid_time=86400
|
||||
apt: name={{ item }} state=present update_cache=yes
|
||||
with_items: java_packages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue