26 lines
807 B
YAML
26 lines
807 B
YAML
# ansible-role-apache
|
|
apache_listen_ip: "*"
|
|
apache_listen_port: 80
|
|
apache_listen_port_ssl: 443
|
|
apache_create_vhosts: true
|
|
|
|
apache_vhosts:
|
|
- servername: "{{ ressources_fqdn }}"
|
|
documentroot: "/data1/httpd/ansible"
|
|
extra_parameters: |
|
|
Redirect permanent / https://"{{ ressources_fqdn }}"
|
|
|
|
apache_vhosts_ssl:
|
|
- servername: "{{ ressources_fqdn }}"
|
|
documentroot: "/data1/httpd/ansible"
|
|
certificate_file: "/etc/ssl/certs/libretic.fr.crt"
|
|
certificate_key_file: "/etc/ssl/private/libretic.fr.key"
|
|
options: +Indexes +FollowSymLinks
|
|
allow_override: "All"
|
|
extra_parameters: |
|
|
<Directory "/data1/httpd/ansible">
|
|
Require valid-user
|
|
AuthType Basic
|
|
AuthName "Please authenticate"
|
|
AuthUserFile /data1/httpd/ansible.htpasswd
|
|
</Directory>
|