netz39-infra-ansible/tasks/httpd.yml

27 lines
590 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
- name: Setup forward site reservierung.netz39.de
include_role:
name: setup-http-site-forward
vars:
site_name: reservierung.netz39.de
forward_to: https://codimd.pingtech.de/aYsBj5wSTviFTozd8b0P_Q
- name: Setup proxy site testredmine.netz39.de
include_role:
name: setup-http-site-proxy
vars:
site_name: testredmine.netz39.de
proxy_port: 9004