PHPackages                             vundb/ansible-role-apache-vhost - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. vundb/ansible-role-apache-vhost

ActiveChef-role[DevOps &amp; Deployment](/categories/devops)

vundb/ansible-role-apache-vhost
===============================

Ansible role to manage apache's virtual hosts on gentoo instances.

1.2.1(7y ago)2701MIT

Since Jul 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/vundb/ansible-role-apache-vhost)[ Packagist](https://packagist.org/packages/vundb/ansible-role-apache-vhost)[ RSS](/packages/vundb-ansible-role-apache-vhost/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (5)Used By (1)

Ansible Role Apache Vhost
=========================

[](#ansible-role-apache-vhost)

Ansible role to manage apache's virtual hosts on gentoo instances.

Supported Distributions
-----------------------

[](#supported-distributions)

- Gentoo

Role Variables
--------------

[](#role-variables)

- `apache_services`: Array with services to be restarted on configuration changes.
- `apache_user`: System user name for apache daemon. Default value is `apache`.
- `apache_group`: System user group for apache daemon. Default value is `apache`.
- `apache_vhosts`: Array with virtual host configuration. See [default vars file](defaults/main.yml)

Dependencies
------------

[](#dependencies)

None.

Example Playbook
----------------

[](#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
-------

[](#license)

MIT

Author Information
------------------

[](#author-information)

- You can find more roles in my GitHub channel [vundb](https://github.com/vundb)
- Follow me on Twitter [@vundb](https://twitter.com/vundb)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity66

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~267 days

Total

4

Last Release

2797d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c047a39da05d0af48ecc206c25c7aff05efbdefc43c9bc3abf428ae53574adf8?d=identicon)[vundb](/maintainers/vundb)

### Embed Badge

![Health badge](/badges/vundb-ansible-role-apache-vhost/health.svg)

```
[![Health](https://phpackages.com/badges/vundb-ansible-role-apache-vhost/health.svg)](https://phpackages.com/packages/vundb-ansible-role-apache-vhost)
```

###  Alternatives

[k10r/deployment

Adds some helpers for shopware-deployment

1321.7k](/packages/k10r-deployment)[metadrop/drupal-boilerplate

Project template for Drupal 9 projects with a relocated document root

281.0k](/packages/metadrop-drupal-boilerplate)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
