mise au point et test solution

This commit is contained in:
2021-06-10 16:04:48 +02:00
parent 8e6ed730b1
commit 5123a8d280
3 changed files with 5 additions and 1 deletions

View File

@@ -1 +1,3 @@
---
apache_service_name: httpd
apache_package_name: httpd

View File

@@ -2,7 +2,7 @@
ServerName {{ apache_server_name }}
ServerAlias www.{{ apache_server_name }}
ServerAlias {{ inventory_hostname }}
DocumentRoot /var/www/html/{{ apache_server_name }}
DocumentRoot {{ apache_documentroot }}
CustomLog /var/log/httpd/{{ apache_server_name }}_access.log combined
ErrorLog /var/log/httpd/{{ apache_server_name }}_error.log
<Directory />

View File

@@ -0,0 +1,2 @@
apache_server_name: orsys.fr
apache_documentroot: /srv/www/orsys.fr