mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
improve caddy repo
This commit is contained in:
parent
116bb3d971
commit
f856a14025
1 changed files with 5 additions and 1 deletions
|
|
@ -37,11 +37,15 @@
|
|||
|
||||
sudo rm -f /usr/share/keyrings/caddy-stable-archive-keyring.gpg
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
|
||||
|
||||
# todo: show ok/changed
|
||||
args:
|
||||
executable: /bin/bash
|
||||
- name: Add caddy repository
|
||||
ansible.builtin.get_url:
|
||||
url: "https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt"
|
||||
dest: "/etc/apt/sources.list.d/caddy-stable.list"
|
||||
mode: "u=rw,g=r,o=r"
|
||||
- name: Install caddy
|
||||
ansible.builtin.apt:
|
||||
name: caddy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue