netz39-infra-ansible/roles/apache/tasks/main.yml

11 lines
213 B
YAML

---
- name: Ensure Apache2 and modules are installed and up to date
apt:
name:
- apache2
state: latest
- name: Ensure mod_rewrite is enabled
apache2_module:
name: rewrite
state: present