From c1013be2c82ff78c6d15f8f61be1c4b03f306488 Mon Sep 17 00:00:00 2001 From: Clemens Zagler Date: Mon, 30 Sep 2024 11:36:18 +0200 Subject: [PATCH] feat: Make caddyfile configurable --- defaults/main.yml | 1 + tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index b6f5b2c..c39344f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,2 +1,3 @@ --- caddy_installation_packages: [] +caddyfile: Caddyfile diff --git a/tasks/main.yml b/tasks/main.yml index 002b79e..f2e7e76 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -46,7 +46,7 @@ - name: Copy Caddyfile ansible.builtin.copy: - src: Caddyfile + src: "{{ caddyfile }}" dest: /etc/caddy/Caddyfile owner: root group: root