apache2_module: name=rewrite
notify: Restart Apache2.
-- name: Enable Apache2 cgid module for Gitweb (Ubuntu).
+- name: Enable Apache2 cgid module.
become: yes
apache2_module: name=cgid
- when: ansible_distribution == 'Ubuntu'
- notify: Restart Apache2.
-
-- name: Enable Apache2 cgi module for Gitweb (Debian).
- become: yes
- apache2_module: name=cgi
- when: ansible_distribution == 'Debian'
notify: Restart Apache2.
- name: Install libcgi-pm-perl for Gitweb.
become: yes
apache2_module:
name: "{{ item }}"
- loop: [ cgi, rewrite, expires, headers ]
+ loop: [ cgid, rewrite, expires, headers ]
notify: Restart Apache2.
- name: Enable Zoneminder Apache configuration.
apache2_module: name=rewrite
notify: Restart Apache2.
-- name: Enable Apache2 cgid module for Gitweb (Ubuntu).
+- name: Enable Apache2 cgid module.
become: yes
apache2_module: name=cgid
- when: ansible_distribution == 'Ubuntu'
- notify: Restart Apache2.
-
-- name: Enable Apache2 cgi module for Gitweb (Debian).
- become: yes
- apache2_module: name=cgi
- when: ansible_distribution == 'Debian'
notify: Restart Apache2.
- name: Install libcgi-pm-perl for Gitweb.
become: yes
apache2_module:
name: "{{ item }}"
- loop: [ cgi, rewrite, expires, headers ]
+ loop: [ cgid, rewrite, expires, headers ]
notify: Restart Apache2.
- name: Enable Zoneminder Apache configuration.
apache2_module: name=rewrite
notify: Restart Apache2.
-- name: Enable Apache2 cgid module for Gitweb (Ubuntu).
+- name: Enable Apache2 cgid module.
become: yes
apache2_module: name=cgid
- when: ansible_distribution == 'Ubuntu'
- notify: Restart Apache2.
-
-- name: Enable Apache2 cgi module for Gitweb (Debian).
- become: yes
- apache2_module: name=cgi
- when: ansible_distribution == 'Debian'
notify: Restart Apache2.
- name: Install libcgi-pm-perl for Gitweb.