2
0
Files
SIB_Exercices/17.1_variable/myapache
..
2020-05-07 10:27:36 +02:00
2018-01-08 19:24:19 +01:00
2018-01-08 19:24:19 +01:00
2018-01-08 19:24:19 +01:00
2020-05-07 10:27:36 +02:00
2020-05-07 10:27:36 +02:00
2018-01-08 19:24:19 +01:00
2020-05-07 10:27:36 +02:00
2020-05-07 10:27:36 +02:00

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: orsys.fr apache_serveralias: "www.orsys.fr" apache_documentroot: /var/www/html/orsys.fr apache_accesslog: /var/log/httpd/access_orsys.fr_log apache_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