36 lines
668 B
Markdown
36 lines
668 B
Markdown
![]() |
# galaxy-caddy.410
|
||
|
|
||
|
Push caddy config file returning a 410 status
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
Caddy webserver up and running
|
||
|
|
||
|
## Role Variables
|
||
|
|
||
|
- caddy_home: caddy home directory
|
||
|
- caddy_logs: caddy log directory
|
||
|
- caddy_conf: caddy config directory
|
||
|
- caddy_confd: caddy conf.d directory
|
||
|
- caddy_www: /var/www/caddy
|
||
|
- vhost_name: name of the vhost
|
||
|
- vhost_url: url of the vhost
|
||
|
|
||
|
## Dependencies
|
||
|
|
||
|
- galaxy-caddy
|
||
|
|
||
|
## Example Playbook
|
||
|
|
||
|
- hosts: servers
|
||
|
roles:
|
||
|
- { role: ../galaxy-caddy.reverse, vhost_url: https://default.com }
|
||
|
|
||
|
## Run tests
|
||
|
|
||
|
Needs galaxy-vagrant to run tests
|
||
|
|
||
|
Ensure galaxy-vagrant is up
|
||
|
|
||
|
ansible-playbook -i tests/inventory tests/test.yml
|