vundb / ansible-role-apache-vhost
Ansible role to manage apache's virtual hosts on gentoo instances.
Installs: 70
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Type:chef-role
Requires
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2024-12-14 09:22:40 UTC
README
Ansible role to manage apache's virtual hosts on gentoo instances.
Supported Distributions
- Gentoo
Role Variables
-
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
Dependencies
None.
Example Playbook
- 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"
License
MIT