File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1515 when :
1616 - ansible_selinux.status == 'enabled'
1717
18+ - name : Enable required modules
19+ community.general.apache2_module :
20+ name : " {{ item }}"
21+ loop : " {{ httpd_modules }}"
22+
1823- name : Disable welcome page
1924 ansible.builtin.file :
2025 path : " {{ httpd_conf_path }}/welcome.conf"
Original file line number Diff line number Diff line change @@ -4,3 +4,7 @@ httpd_packages:
44httpd_conf_path : /etc/apache2/conf-enabled
55httpd_service : apache2
66httpd_log_path : /var/log/apache2
7+ httpd_modules :
8+ - ssl
9+ - headers
10+ - proxy
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ httpd_packages:
55httpd_conf_path : /etc/httpd/conf.d
66httpd_service : httpd
77httpd_log_path : /var/log/httpd
8+ httpd_modules : []
You can’t perform that action at this time.
0 commit comments