Install Caddy webserver on Debian
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 28903fa744 Update caddy version 2.4.5 2 months ago
defaults Update caddy version 2.4.5 2 months ago
files Format test file 1 year ago
handlers Bootstrap caddy role 3 years ago
meta Update to caddy2 1 year ago
tasks Add notify 1 year ago
templates Update to caddy2 1 year ago
tests Fix: Harmonize files by adding new line if nedded 2 years ago
LICENSE Update LICENSE to 2020 1 year ago
README.md Remove useless sentence in README example 1 year ago

README.md

galaxy-caddy

Install and update Caddy webserver on Debian

Requirements

None

Role Variables

  • caddy_home: home of caddy user
  • caddy_logs: logs directory
  • caddy_conf: conf directory
  • caddy_confd: confd directory
  • caddy_www: directory used to store websites sources
  • caddy_email: email used to register ACME/Let's Encrypt stuff
  • caddy_update: yes/no - activate caddy updates
  • test_url: url used for the test page
  • test_acme: should the test page use acme or internal HTTPS
  • test_name: name of the test
  • test_code: test page source code directory
  • test_www: yes/no - enable redirection from www. to .

Dependencies

None

Example Playbook

- hosts: servers
  roles:
     - { role: galaxy-caddy, test_url: test.io }

Run tests

Needs galaxy-vagrant to run tests

Ensure galaxy-vagrant is up

ansible-playbook -i tests/inventory tests/test.yml