mullholland.repository_caddy

Ansible role repository_caddy

Adds the caddy repository (https://caddyserver.com/docs/install) to your system

GitHub Downloads Version
github downloads Version

Example Playbook

This example is taken from molecule/default/converge.yml and is tested on each push, pull request and release.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: "mullholland.repository_caddy"

  post_tasks:
    - name: Install caddy for testing the repository works
      ansible.builtin.package:
        name: "caddy"
        state: present

The machine needs to be prepared. In CI this is done using molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: true

  tasks: []
  roles: []

Role Variables

The default values for the variables are set in defaults/main.yml:

---
repository_caddy_gpg_key: "https://dl.cloudsmith.io/public/caddy/stable/gpg.key"
repository_caddy_keyring: "/etc/apt/trusted.gpg.d/caddy.gpg"

Requirements

Context

This role is a part of many compatible roles. Have a look at the documentation of these roles for further information.

Here is an overview of related roles: dependencies

Compatibility

This role has been tested on these container images:

container tags
EL all
Fedora 38, 39
Ubuntu all
Debian all

The minimum version of Ansible required is 2.10, tests have been done to:

  • The previous version.
  • The current version.
  • The development version.

If you find issues, please register them in GitHub.

License

MIT.

Author Information

Mullholland

About

Adds the caddy repository (https://caddyserver.com/docs/install) to your system

Install
ansible-galaxy install mullholland.repository_caddy
GitHub repository
License
apache-2.0
Downloads
633