Skip to content

iancleary/ansible-role-caddy

Repository files navigation

ansible-role-caddy

CI workflow status Release workflow status Ansible Galaxy License

This role installs Caddy (Fast, multi-platform web server with automatic HTTPS).

Requirements

Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here.

Supported and Tested ansible_os_families:

  • Ubuntu 20.04

Pull Requests welcome!

Role Variables

A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.

---
# no variables

Dependencies

A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.

N/A

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  user: unprivelaged
  roles:
    - role: iancleary.caddy
      become: true
- hosts: servers
  user: root
  roles:
    - role: iancleary.caddy

License

MIT

Author Information

This role was created in 2022 by Ian Cleary.

Inspiration for the structure of this repo came from Jeff Geerling.