Push caddy config file returning a 410 status
Go to file
Wilfried OLLIVIER 2595d846cd Remove useless sentence in README example 2020-07-02 10:01:13 +02:00
defaults Bootstrap caddy 410 role 2020-03-26 17:22:45 +01:00
handlers Bootstrap caddy 410 role 2020-03-26 17:22:45 +01:00
meta Fix: Harmonize files by adding new line if nedded 2020-04-03 11:44:53 +02:00
tasks Fix: Harmonize files by adding new line if nedded 2020-04-03 11:44:53 +02:00
templates Update to caddy2 2020-05-19 21:26:43 +02:00
tests Fix: Harmonize files by adding new line if nedded 2020-04-03 11:44:53 +02:00
LICENSE Update LICENSE to 2020 2020-05-19 21:26:37 +02:00
README.md Remove useless sentence in README example 2020-07-02 10:01:13 +02:00

README.md

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