17 lines
316 B
YAML
17 lines
316 B
YAML
---
|
|
- name: Ensure Apache2 and modules are installed and up to date
|
|
apt:
|
|
name:
|
|
- apache2
|
|
state: present
|
|
|
|
- name: Ensure necessary modules are enabled
|
|
apache2_module:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items:
|
|
- rewrite
|
|
- ssl
|
|
- headers
|
|
- proxy_http
|
|
- proxy_wstunnel
|