netz39-infra-ansible/tasks/httpd.yml

26 lines
533 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
2020-11-24 22:44:38 +01:00
- name: Setup proxy site mysql.adm.netz39.de
include_role:
name: setup-http-site-proxy
vars:
site_name: mysql.adm.netz39.de
proxy_port: 9001
2020-11-24 18:30:46 +01:00
- name: Setup proxy site testredmine.netz39.de
include_role:
name: setup-http-site-proxy
vars:
site_name: testredmine.netz39.de
proxy_port: 9004