mise au point et test solution
This commit is contained in:
@@ -1 +1,3 @@
|
|||||||
---
|
---
|
||||||
|
apache_service_name: httpd
|
||||||
|
apache_package_name: httpd
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
ServerName {{ apache_server_name }}
|
ServerName {{ apache_server_name }}
|
||||||
ServerAlias www.{{ apache_server_name }}
|
ServerAlias www.{{ apache_server_name }}
|
||||||
ServerAlias {{ inventory_hostname }}
|
ServerAlias {{ inventory_hostname }}
|
||||||
DocumentRoot /var/www/html/{{ apache_server_name }}
|
DocumentRoot {{ apache_documentroot }}
|
||||||
CustomLog /var/log/httpd/{{ apache_server_name }}_access.log combined
|
CustomLog /var/log/httpd/{{ apache_server_name }}_access.log combined
|
||||||
ErrorLog /var/log/httpd/{{ apache_server_name }}_error.log
|
ErrorLog /var/log/httpd/{{ apache_server_name }}_error.log
|
||||||
<Directory />
|
<Directory />
|
||||||
|
|||||||
2
host_vars/centos1.formation.opendoor.fr.yml
Normal file
2
host_vars/centos1.formation.opendoor.fr.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
apache_server_name: orsys.fr
|
||||||
|
apache_documentroot: /srv/www/orsys.fr
|
||||||
Reference in New Issue
Block a user