- import_playbook: common.yml
vars:
hostlist: www1
- name: configure internal web servers
hosts: www1
tags: apache
roles:
- role: apache_vhost
apache_default_vhost: yes
apache_config: |
AliasMatch "^/pub/user/([^/]+)(.*)" "/nfs/user/$1/pub$2"
AliasMatch "^/pub/group/([^/]+)(.*)" "/nfs/group/$1/pub$2"
This is the {{ organization }} internal webserver. To access files in user or group public directories, try paths like the following: