Skip to content

Commit

Permalink
Use apache2_module again instead of upstream-way
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Bellack committed Oct 27, 2020
1 parent 5aa60e3 commit 83f2c81
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tasks/configure-Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
notify: restart apache

- name: Enable Apache mods.
file:
src: "{{ apache_server_root }}/mods-available/{{ item }}"
dest: "{{ apache_server_root }}/mods-enabled/{{ item }}"
state: link
mode: 0644
apache2_module:
name: "{{ item | regex_replace('(\\w+)\\.load','\\1') }}"
state: present
with_items: "{{ apache_mods_enabled }}"
notify: restart apache

Expand Down

0 comments on commit 83f2c81

Please sign in to comment.