Push basic caddy config file and sync local website to remote host
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 b4db0ded2f Remove useless sentence in README example 1 year ago
defaults Fix: Harmonize files by adding new line if nedded 2 years ago
handlers Bootstrap caddy http sync role 3 years ago
meta Update to caddy2 1 year ago
tasks Ensure ownership to caddy after sync 2 years ago
templates Update to caddy2 1 year ago
LICENSE Update LICENSE to 2020 1 year ago
README.md Remove useless sentence in README example 1 year ago

README.md

galaxy-caddy.http.sync

Push config file and sync code source of a basic html site

Requirements

Caddy webserver up and running

Role Variables

  • vhost_url: vhost url
  • vhost_name: name of the vhost
  • caddy_home: path to caddy home directory
  • caddy_logs: path to caddy logs directory
  • caddy_conf: path to caddy config directory
  • caddy_confd: path to caddy confd directory
  • caddy_logs: path to caddy vhost log directory
  • caddy_www: path to caddy www dir
  • custom_errors: yes/no - use custom errors or not
  • www_redirect: yes/no - redirect www. to .

Dependencies

  • galaxy-caddy

Example Playbook

- hosts: servers
  roles:
     - { role: galaxy-caddy.http.sync, custom_errors: no, vhost_name: test, vhost_url: test.test, syncpath: path/to/some/directory }