From d45e33b93d6eb06dbb3cc388e0a3a3ef59de247c Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Sat, 12 Dec 2020 16:08:42 +0100 Subject: [PATCH] Make sure apache SSL module is installed --- roles/apache/tasks/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/roles/apache/tasks/main.yml b/roles/apache/tasks/main.yml index 349e53d..14930b3 100644 --- a/roles/apache/tasks/main.yml +++ b/roles/apache/tasks/main.yml @@ -5,7 +5,10 @@ - apache2 state: latest -- name: Ensure mod_rewrite is enabled +- name: Ensure necessary modules are enabled apache2_module: - name: rewrite + name: "{{ item }}" state: present + with_items: + - rewrite + - ssl