Yum to not update cache
This commit is contained in:
parent
34899bde24
commit
496af8b2ab
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
when: update_java == true
|
||||
|
||||
- name: RedHat - Ensure Java is installed
|
||||
yum: name={{ java }} state={{java_state}} update_cache=yes
|
||||
yum: name={{ java }} state={{java_state}}
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Debian - Ensure Java is installed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue