initial commit

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

View File

@@ -0,0 +1,6 @@
$ANSIBLE_VAULT;1.1;AES256
31653731393732623239623030633932666534613931666630313335346338306362356263366261
6465393132643537613161343263613530656263623236390a633835613663643464313930613562
31306535323538633664393032386665396239626563343736636266333436336265386639323035
6530326539336236320a613631653861303464353066353961383738396639313831323065623639
32663763333138613435653438363734343739303838303232313337313230646364

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

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

7
myapache/vars/debian.yml Normal file
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
myapache/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

7
myapache/vars/redhat.yml Normal file
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