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