mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
1
roles/httpd_mod_perl/files/03-perl.conf
Normal file
1
roles/httpd_mod_perl/files/03-perl.conf
Normal file
@@ -0,0 +1 @@
|
||||
LoadModule perl_module modules/mod_perl.so
|
11
roles/httpd_mod_perl/tasks/main.yml
Normal file
11
roles/httpd_mod_perl/tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
|
||||
- name: Install mod_perl
|
||||
yum: name=mod_perl
|
||||
|
||||
# Can be installed before httpd, so create the dir
|
||||
- name: Ensure /etc/httpd/ansible_conf.modules.d exists
|
||||
file: path=/etc/httpd/ansible_conf.modules.d state=directory
|
||||
|
||||
- name: Load mod_perl module
|
||||
copy: src=03-perl.conf dest=/etc/httpd/ansible_conf.modules.d/03-perl.conf
|
Reference in New Issue
Block a user