17.1: mise au propre des variables dinventaire
This commit is contained in:
18
17.1_variable/host_vars/cible1
Normal file
18
17.1_variable/host_vars/cible1
Normal file
@@ -0,0 +1,18 @@
|
||||
apache_vhosts:
|
||||
- servername: cines.fr
|
||||
serveralias:
|
||||
- www.cines.fr
|
||||
- cines.org
|
||||
- www.cines.org
|
||||
documentroot: /var/www/html/cines.fr
|
||||
accesslog: /var/log/httpd/access_cines.fr_log
|
||||
errorlog: /var/log/httpd/error_cines.fr_log
|
||||
- servername: thomas.fr
|
||||
serveralias:
|
||||
- www.thomas.fr
|
||||
- thomas.com
|
||||
- www.thomas.cm
|
||||
documentroot: /var/www/html/thomas.fr
|
||||
accesslog: /var/log/httpd/access_thomas.fr_log
|
||||
errorlog: /var/log/httpd/error_thomas.fr_log
|
||||
documentrootoptions: indexes
|
||||
9
17.1_variable/host_vars/cible2
Normal file
9
17.1_variable/host_vars/cible2
Normal file
@@ -0,0 +1,9 @@
|
||||
apache_vhosts:
|
||||
- servername: orsys.fr
|
||||
serveralias:
|
||||
- www.orsys.fr
|
||||
- orsys.org
|
||||
- www.orsys.org
|
||||
documentroot: /var/www/html/orsys.fr
|
||||
accesslog: /var/log/httpd/access_orsys.fr_log
|
||||
errorlog: /var/log/httpd/error_orsys.fr_log
|
||||
@@ -1,8 +1,3 @@
|
||||
---
|
||||
# vars file for myapache
|
||||
http_port: 80
|
||||
servername: orsys.fr
|
||||
serveralias: "www.{{ servername }}"
|
||||
documentroot: /var/www/html/orsys.fr
|
||||
accesslog: /var/log/httpd/access_orsys.fr_log
|
||||
errorlog: /var/log/httpd/error_orsys.fr_log
|
||||
http_port: 80
|
||||
Reference in New Issue
Block a user