Skip to content
Snippets Groups Projects
Unverified Commit c593da6d authored by clmntsl's avatar clmntsl Committed by GitHub
Browse files

story #9289 Fix missing modules and logs directory for Debian reverse (#595)

parent 1886e9af
No related branches found
No related tags found
1 merge request!57Feat/prepare pr
......@@ -27,6 +27,13 @@
until: result is succeeded
delay: "{{ packages_install_retries_delay }}"
- name: Configure logs directory symbolic link for Debian
file:
src: "/var/log/apache2"
dest: "/etc/{{ apache_service }}/logs"
state: link
when: ansible_os_family == "Debian"
- name: Ensure mod_ssl & mod_proxy_html is installed (CentOS)
package:
name: ["mod_ssl","mod_proxy_html"]
......@@ -46,9 +53,10 @@
mode: 0644
notify:
- reload apache
when: ansible_os_family == "RedHat"
# TODO: We could use apache2_module of ansible but it is currently flagged as preview
- name: Enable mod_ssl & mod_proxy (Debian)
- name: Enable necessary mods (Debian)
file:
src: "/etc/{{ apache_service }}/mods-available/{{ item }}"
dest: "/etc/{{ apache_service }}/mods-enabled/{{ item }}"
......@@ -62,6 +70,9 @@
- proxy.load
- proxy_http.load
- socache_shmcb.load
- substitute.load
- proxy_html.load
- headers.load
notify:
- reload apache
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment