Create vhosts, users, and document roots

This commit is contained in:
2021-10-25 21:41:35 -05:00
parent d92c35b296
commit 4afbe76369
4 changed files with 149 additions and 1 deletions

View File

@@ -11,7 +11,21 @@ Any pre-requisites that may not be covered by Ansible itself or the role should
Role Variables
--------------
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
* main variable of type list
* http_vhost
* required dictionary elements
* fqdn : The FQDN of the website
* optional dictionary elements
* aliases : list of alternative FQDN for the website
* proxy : URL to direct traffic for the FQDN to, e.g. http://localhost:8080
~~~
http_vhost:
- fqdn: 'www.example.com'
aliases:
- 'exmaple.com'
proxy: 'http://localhost:8080'
~~~
Dependencies
------------