mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-06 14:13:29 +01:00
7 lines
185 B
YAML
7 lines
185 B
YAML
---
|
|
- 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
|