From: Oleg Broytman Date: Tue, 9 Jun 2026 14:51:50 +0000 (+0300) Subject: Feat(apache): Enable more modules X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=e90d994c680801cb78373ecdd74dc7ff4d115ff8;p=ansible.git Feat(apache): Enable more modules --- diff --git a/playbooks/roles/debian/apache/handlers/main.yaml b/playbooks/roles/debian/apache/handlers/main.yaml index e4b4950..8354bbf 100644 --- a/playbooks/roles/debian/apache/handlers/main.yaml +++ b/playbooks/roles/debian/apache/handlers/main.yaml @@ -3,3 +3,9 @@ service: name: apache2 state: reloaded + +- name: Restart apache + become: true + service: + name: apache2 + state: restarted diff --git a/playbooks/roles/debian/apache/tasks/main.yaml b/playbooks/roles/debian/apache/tasks/main.yaml index 28f9736..5de28b7 100644 --- a/playbooks/roles/debian/apache/tasks/main.yaml +++ b/playbooks/roles/debian/apache/tasks/main.yaml @@ -20,10 +20,10 @@ state: latest update_cache: yes - - name: Enable SSL module + - name: Enable non-default modules become: true - command: a2enmod ssl - notify: Reload apache + command: a2enmod cgid info include rewrite ssl + notify: Restart apache - name: Configure apache become: true