Commit f22ca956 authored by Okhin's avatar Okhin

Ajout des variables pour les groupes et certains hotes

parent d7f4a8f0
---
- src: geerlingguy.apache
- src: geerlingguy.php-mysql
- src: geerlingguy.mysql
---
webserver_user: www-data
apache_remove_default_vhost: true
apache_mods_enabled:
- rewrite.load
- php5.load
- ssl.load
- alias.load
apache_state: started
apache_create_vhosts: true
certbot_create_if_missing: true
certbot_admin_email: okhin@laquadrature.net
---
wordpress_url: https://grange.dev.lqdn.fr/
wordpress_title: "Site de dev Une Grange"
wordpress_admin_user: datafoin
wordpress_admin_email: okhin@laquadrature.net
certbot_create_command: "{{ certbot_script }} certonly --webroot --webrootpath /var/www/letsencrypt/ --noninteractive --agree-tos --email {{ cert_item.email | default(certbot_admin_email) }} -d {{ cert_item.domains | join(,)"
certbot_certs:
- domains:
- "grange.dev.lqdn.fr"
- "*.grange.dev.lqdn.fr"
apache_vhosts_ssl:
- servername: "grange.dev.lqdn.fr"
serveralias: "*.grange.dev.lqdn.fr"
documentroot: "{{ wordpress_path }}"
allow_override: "All"
certificate_file: /etc/letsencrypt/live/grange.dev.lqdn.fr/fullchain.pem
certificate_keyfile: /etc/letsencrypt/live/grange.dev.lqdn.fr/privkey.pem
extraparameters: |
RewriteRule ^/.* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Alias /.well-known/acme-challenge/ /var/www/letsencrypt/.well-known/acme-challenge/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment