ansible-libretic-aap/inventory/prod/group_vars/ressources.yml

27 lines
807 B
YAML
Raw Permalink Normal View History

2024-08-04 19:25:21 +02:00
# 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>