24 lines
758 B
YAML
24 lines
758 B
YAML
---
|
|
# On EL the whole httpd.conf is templated: the packaged one carries the tuning
|
|
# and the document root layout, so there is nothing equivalent to ports.conf to
|
|
# manage separately.
|
|
- name: apache-config-el | Install the main httpd configuration file
|
|
ansible.builtin.template:
|
|
src: httpd.conf.j2
|
|
dest: '{{ apache_base_conf_dir }}/conf/httpd.conf'
|
|
owner: root
|
|
group: root
|
|
mode: '0444'
|
|
notify: apache2 reload
|
|
tags: [ 'apache', 'apache_conf' ]
|
|
|
|
- name: apache-config-el | Set the MPM mode
|
|
ansible.builtin.template:
|
|
src: 00-mpm.conf.j2
|
|
dest: '{{ apache_base_conf_dir }}/conf.modules.d/00-mpm.conf'
|
|
owner: root
|
|
group: root
|
|
mode: '0444'
|
|
notify: apache2 restart
|
|
tags: [ 'apache', 'apache_conf', 'apache_mods' ]
|