Ansible role to manage apache's virtual hosts on gentoo instances.
- Gentoo
-
apache_services
: Array with services to be restarted on configuration changes. -
apache_user
: System user name for apache daemon. Default value isapache
. -
apache_group
: System user group for apache daemon. Default value isapache
. -
apache_vhosts
: Array with virtual host configuration. See default vars file
None.
- hosts: all
roles:
- role: vundb-apache-vhost
apache_vhosts:
- label: "example.com"
virtual_host: "*:80"
server_name: "example.com"
server_alias: "example.com"
document_root: "/var/www/example.com"
MIT