Move httpd stuff to tasks
This commit is contained in:
parent
0c78a4f72d
commit
8d19bc3fa3
2 changed files with 19 additions and 33 deletions
tasks
19
tasks/httpd.yml
Normal file
19
tasks/httpd.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
- 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 proxy site testredmine.netz39.de
|
||||
include_role:
|
||||
name: setup-http-site-proxy
|
||||
vars:
|
||||
site_name: testredmine.netz39.de
|
||||
proxy_port: 9004
|
Loading…
Add table
Add a link
Reference in a new issue