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