51 lines
817 B
Markdown
51 lines
817 B
Markdown
Role Name
|
|
=========
|
|
|
|
Rôle de deploiement apache sur une centos.
|
|
|
|
1 seul vhost par machine
|
|
|
|
|
|
Requirements
|
|
------------
|
|
|
|
None
|
|
|
|
Role Variables
|
|
--------------
|
|
|
|
http_port: 80
|
|
|
|
Hosts Variables:
|
|
---------------
|
|
|
|
apache_servername: no default
|
|
apache_serveralias: no default
|
|
apache_documentroot: /var/www/html/{{ apache_servername }}
|
|
apache_accesslog: /var/log/httpd/access_{{ apache_servername }}_log
|
|
apache_errorlog: /var/log/httpd/error_{{ apache_servername }}_log
|
|
|
|
Dependencies
|
|
------------
|
|
|
|
None
|
|
|
|
Example Playbook
|
|
----------------
|
|
|
|
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
|
|
|
- hosts: servers
|
|
roles:
|
|
- { myapache }
|
|
|
|
License
|
|
-------
|
|
|
|
BSD
|
|
|
|
Author Information
|
|
------------------
|
|
|
|
Thomas Constans <thomas@opendoor.fr>
|