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

12 lines
213 B
YAML
Raw Normal View History

2020-11-24 18:30:46 +01:00
---
- 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