mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-18 17:44:20 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user