46 lines
730 B
Markdown
46 lines
730 B
Markdown
Role Name
|
|
=========
|
|
|
|
Rôle de deploiement apache sur une centos.
|
|
|
|
1 seul vhost
|
|
|
|
Requirements
|
|
------------
|
|
|
|
None
|
|
|
|
Role Variables
|
|
--------------
|
|
apache_user_php - default False
|
|
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
|
|
|
|
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>
|