2023-02-24 11:51:59 +00:00
|
|
|
apache:
|
|
|
|
pkg.installed:
|
|
|
|
- name: apache2
|
|
|
|
|
2023-05-12 15:26:34 +01:00
|
|
|
apache_certs_group:
|
|
|
|
group.present:
|
|
|
|
- name: ssl-cert
|
|
|
|
- system: true
|
|
|
|
- addusers:
|
|
|
|
- www-data
|
|
|
|
|
2023-02-24 11:51:59 +00:00
|
|
|
apache_cgi_module:
|
|
|
|
apache_module.enabled:
|
|
|
|
- name: cgi
|
|
|
|
|
|
|
|
apache_cgid_module:
|
|
|
|
apache_module.enabled:
|
|
|
|
- name: cgid
|
|
|
|
|
2023-02-26 00:37:35 +00:00
|
|
|
apache_headers_module:
|
|
|
|
apache_module.enabled:
|
|
|
|
- name: headers
|
|
|
|
|
2023-03-05 22:19:12 +00:00
|
|
|
apache_include_module:
|
|
|
|
apache_module.enabled:
|
|
|
|
- name: include
|
|
|
|
|
2024-07-13 13:12:08 +01:00
|
|
|
apache_mpm_prefork_module:
|
2024-07-13 13:04:56 +01:00
|
|
|
apache_module.disabled:
|
|
|
|
- name: mpm_prefork
|
2024-07-13 13:12:08 +01:00
|
|
|
|
|
|
|
apache_mpm_event_module:
|
2024-07-13 13:04:56 +01:00
|
|
|
apache_module.enabled:
|
|
|
|
- name: mpm_event
|
|
|
|
|
2023-02-26 00:37:35 +00:00
|
|
|
apache_proxy_module:
|
|
|
|
apache_module.enabled:
|
|
|
|
- name: proxy
|
|
|
|
|
|
|
|
apache_proxy_http_module:
|
|
|
|
apache_module.enabled:
|
|
|
|
- name: proxy_http
|
|
|
|
|
2023-02-24 11:51:59 +00:00
|
|
|
apache_remoteip_module:
|
|
|
|
apache_module.enabled:
|
|
|
|
- name: remoteip
|
|
|
|
|
|
|
|
apache_rewrite_module:
|
|
|
|
apache_module.enabled:
|
|
|
|
- name: rewrite
|
|
|
|
|
|
|
|
apache_ssl_module:
|
|
|
|
apache_module.enabled:
|
|
|
|
- name: ssl
|
|
|
|
|
|
|
|
apache_disable_default_site:
|
|
|
|
apache_site.disabled:
|
|
|
|
- name: 000-default
|
|
|
|
|
|
|
|
apache_disable_default_ssl_site:
|
|
|
|
apache_site.disabled:
|
|
|
|
- name: default-ssl
|
|
|
|
|
|
|
|
apache_service:
|
|
|
|
service.running:
|
|
|
|
- name: apache2
|
|
|
|
- enable: True
|
|
|
|
- require:
|
|
|
|
- pkg: apache2
|