install xcaddy
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
- name: Set cpu architecture
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
caddy_arch: "amd64"
|
||||||
|
when: ansible_architecture == "x86_64"
|
||||||
|
|
||||||
|
- name: Set cpu architecture
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
caddy_arch: "arm64"
|
||||||
|
when: ansible_architecture == "aarch64"
|
||||||
|
|
||||||
- name: Install xcaddy
|
- name: Install xcaddy
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
deb: https://github.com/caddyserver/xcaddy/releases/download/v0.3.4/xcaddy_0.3.4_linux_amd64.deb
|
deb: https://github.com/caddyserver/xcaddy/releases/download/v0.3.4/xcaddy_0.3.4_linux_{{ caddy_arch }}.deb
|
||||||
|
become: true
|
||||||
|
|||||||
Reference in New Issue
Block a user