role apache_vhost: up and running

This commit is contained in:
2020-04-19 22:19:39 +02:00
commit ac6c75c19f
14 changed files with 1052 additions and 0 deletions

15
defaults/main.yml Normal file
View File

@@ -0,0 +1,15 @@
---
# defaults file for apache_vhost
apache_base_dir: "/srv/{{ apache_server_name }}"
apache_document_root: "{{ apache_base_dir }}/www"
apache_access_log: "{{ apache_base_dir}}/logs/access_log"
apache_php_socket: "{{ apache_base_dir }}/php-fpm.sock"
apache_use_php: true
apache_use_ssl: true
apache_ssl_certificate: "/etc/letsencrypt/live/{{ apache_server_name }}/cert.pem"
apache_ssl_chain: "/etc/letsencrypt/live/{{ apache_server_name }}/fullchain.pem"
apache_ssl_key: "/etc/letsencrypt/live/{{ apache_server_name }}/privkey.pem "
apache_user: "{{ apache_server_name }}"
apache_allowoverride: all
apache_restart: false
apache_stats: true