ansible-role-apache/tasks/setup-Debian.yml

6 lines
193 B
YAML

---
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=3600
- name: Ensure Apache is installed on Debian.
apt: "name={{ apache_packages }} state={{ apache_packages_state }}"