Push basic caddy config file and sync local website to remote host
Go to file
Wilfried OLLIVIER b4db0ded2f Remove useless sentence in README example 2020-07-02 10:01:23 +02:00
defaults Fix: Harmonize files by adding new line if nedded 2020-04-03 11:44:03 +02:00
handlers Bootstrap caddy http sync role 2019-02-01 18:50:35 +01:00
meta Update to caddy2 2020-05-19 21:27:29 +02:00
tasks Ensure ownership to caddy after sync 2020-03-20 14:33:56 +01:00
templates Update to caddy2 2020-05-19 21:27:29 +02:00
LICENSE Update LICENSE to 2020 2020-05-19 21:27:23 +02:00
README.md Remove useless sentence in README example 2020-07-02 10:01:23 +02:00

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 }