galaxy-caddy.reverse/README.md

44 lines
897 B
Markdown
Raw Normal View History

2019-02-01 15:11:31 +00:00
galaxy-caddy.reverse
====================
Push a reverse caddy config file
Requirements
------------
Caddy webserver
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
- reverse_location: reverse destination point
- reverse_port: port to redirect to
- vhost_name: name of the vhost
Dependencies
------------
- galaxy-caddy
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: galaxy-caddy.reverse, vhostname: none, reverse_location: localhost, reverse_port: 4242 }
Run tests
---------
Ensure galaxy-vagrant is up
ansible-playbook -i tests/inventory tests/test.yml