Uses proper apache2_module now

This commit is contained in:
Jim Martens 2020-01-03 22:11:25 +01:00
parent ab86471902
commit 018a9b746e
1 changed files with 12 additions and 8 deletions

View File

@ -13,15 +13,19 @@
- name: enable mods
block:
- name: enable proxy
command:
cmd: a2enmod proxy
apache2_module:
name: proxy
state: present
- name: enable proxy_wstunnel
command:
cmd: a2enmod proxy_wstunnel
apache2_module:
name: proxy_wstunnel
state: present
- name: enable proxy_http
command:
cmd: a2enmod proxy_http
apache2_module:
name: proxy_http
state: present
- name: enable ssl
command:
cmd: a2enmod ssl
apache2_module:
name: ssl
state: present
notify: restart apache