first commit

This commit is contained in:
2024-11-29 09:24:14 +01:00
commit 8c3b5f57b5
17 changed files with 407 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
---
- name: download latest release
get_url:
url: "{{ caddy_amd64_linux_cloudflare_binary_url }}"
dest: /usr/local/bin/caddy
owner: root
group: root
mode: a+x
ignore_errors: true
- name: Add the caddy group
ansible.builtin.group:
name: caddy
state: present
- name: Add the caddy user
ansible.builtin.user:
name: caddy
group: caddy