initial commit

This commit is contained in:
2020-09-22 15:42:05 +02:00
commit c4efc2c331
17 changed files with 290 additions and 0 deletions

1
myapache4/vars/centos.yml Symbolic link
View File

@@ -0,0 +1 @@
redhat.yml

View File

@@ -0,0 +1,7 @@
---
apache_conf_dir: /etc/apache2/sites-enabled
apache_log_dir: /var/log/apache2
package_name: apache2
service_name: apache2
apache_user: www-data
apache_group: www-data

15
myapache4/vars/main.yml Normal file
View File

@@ -0,0 +1,15 @@
---
# vars file for myapache
http_port: 80
apache_vhosts:
- servername: ORSYS.Fr
serveralias: www.orsys.fr
documentroot: /var/www/html/orsys.fr
accesslog: "{{ apache_log_dir }}/access_orsys.fr_log"
errorlog: "{{ apache_log_dir }}/error_orsys.fr_log"
- servername: thomas.fr
serveralias: www.thomas.fr
documentroot: /var/www/html/thomas.fr
accesslog: "{{ apache_log_dir }}/access_thomas.fr_log"
errorlog: "{{ apache_log_dir }}/error_thomas.fr_log"
documentrootoptions: indexes

View File

@@ -0,0 +1,7 @@
---
apache_conf_dir: /etc/httpd/conf.d/
apache_log_dir: /var/log/httpd
package_name: httpd
service_name: httpd
apache_user: apache
apache_group: apache