mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-14 09:20:20 +01:00
7 lines
220 B
YAML
7 lines
220 B
YAML
---
|
|
- name: Update apt cache.
|
|
apt: update_cache=yes cache_valid_time=3600
|
|
|
|
- name: Ensure Apache is installed on Debian.
|
|
apt: "name={{ item }} state={{ apache_packages_state }}"
|
|
with_items: "{{ apache_packages }}"
|