Push caddy config file returning a 410 status
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Wilfried OLLIVIER 2595d846cd Remove useless sentence in README example 1 year ago
defaults Bootstrap caddy 410 role 2 years ago
handlers Bootstrap caddy 410 role 2 years ago
meta Fix: Harmonize files by adding new line if nedded 2 years ago
tasks Fix: Harmonize files by adding new line if nedded 2 years ago
templates Update to caddy2 2 years ago
tests Fix: Harmonize files by adding new line if nedded 2 years ago
LICENSE Update LICENSE to 2020 2 years ago
README.md Remove useless sentence in README example 1 year ago

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