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

15 lines
264 B
YAML
Raw Permalink 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
2020-12-12 23:09:54 +01:00
state: present
2020-11-24 18:30:46 +01:00
- name: Ensure necessary modules are enabled
2020-11-24 18:30:46 +01:00
apache2_module:
name: "{{ item }}"
2020-11-24 18:30:46 +01:00
state: present
with_items:
- rewrite
- ssl