mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-08 15:03:30 +01:00
73bd75f4b4
Ansible identifies AmazonLinux as: ansible_os_family: "RedHat" ansible_distribution_major_version == "NA" But it is seemingly otherwise indistinguishable from RedHat / CentOS. This sets the correct variables for packages, services, etc, which differ from RHEL / CentOS.
18 lines
353 B
YAML
18 lines
353 B
YAML
---
|
|
apache_service: httpd
|
|
apache_daemon: httpd
|
|
apache_daemon_path: /usr/sbin/
|
|
apache_server_root: /etc/httpd
|
|
apache_conf_path: /etc/httpd/conf.d
|
|
|
|
apache_vhosts_version: "2.4"
|
|
|
|
__apache_packages:
|
|
- httpd24
|
|
- httpd24-devel
|
|
- mod24_ssl
|
|
- openssh
|
|
|
|
apache_ports_configuration_items:
|
|
- regexp: "^Listen "
|
|
line: "Listen {{ apache_listen_port }}"
|