You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
588 B
YAML

4 years ago
---
- name: Add apt signing key for caddy apt repository
apt_key:
url: "https://dl.cloudsmith.io/public/caddy/stable/cfg/gpg/gpg.155B6D79CA56EA34.key"
state: present
- name: Add caddy apt repository
apt_repository:
repo: "deb https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version main"
state: present
- name: Add caddy apt source repository
apt_repository:
repo: "deb-src https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version main"
state: present
- name: Install caddy apt package
apt:
name: "caddy"
state: present