lots of stuff
This commit is contained in:
parent
9f77e30161
commit
6a209092e1
12 changed files with 375 additions and 39 deletions
18
roles/caddy/tasks/main.yml
Normal file
18
roles/caddy/tasks/main.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
- name: Add Caddy GPG key
|
||||
apt_key:
|
||||
url: "https://dl.cloudsmith.io/public/caddy/stable/gpg.key"
|
||||
state: present
|
||||
|
||||
- name: Add Caddy repositories
|
||||
apt_repository:
|
||||
repo: "{{ item }} https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version main"
|
||||
filename: 'caddy-stable'
|
||||
state: present
|
||||
with_items:
|
||||
- deb
|
||||
- deb-src
|
||||
|
||||
- name: Install Caddy
|
||||
apt:
|
||||
name: caddy
|
||||
state: present
|
||||
Loading…
Add table
Add a link
Reference in a new issue