Moved roles to subdirectory

This commit is contained in:
2020-01-03 16:37:00 +01:00
parent a8cca4f575
commit ec4e0d3b96
25 changed files with 0 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
---
- name: install apache 2
apt:
name: apache2
state: latest
update_cache: yes
tags:
- apache
- name: allow apache through firewall
ufw:
name: Apache Full
rule: allow
- name: enable mods
block:
- name: enable proxy
command:
cmd: a2enmod proxy
- name: enable proxy_wstunnel
command:
cmd: a2enmod proxy_wstunnel
- name: enable proxy_http
command:
cmd: a2enmod proxy_http
- name: enable ssl
command:
cmd: a2enmod ssl
notify: restart apache