mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-10 07:53:29 +01:00
Update apt cache if necessary.
This commit is contained in:
parent
034bdb7949
commit
4da5f52668
1 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
- name: Update apt cache.
|
||||
apt: update_cache=yes cache_valid_time=86400
|
||||
|
||||
- name: Ensure Apache is installed.
|
||||
apt: "name={{ item }} state=installed"
|
||||
with_items: apache_packages
|
||||
|
|
Loading…
Reference in a new issue