Skip to content

Commit 6ee7bea

Browse files
committed
fix: caddyfile path
1 parent fb07197 commit 6ee7bea

File tree

2 files changed

+2
-5
lines changed
  • ansible/roles

2 files changed

+2
-5
lines changed

ansible/roles/docker-swarm-app-caddy/tasks/main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
vars:
3737
docker_compose_path: "{{ caddy_dir }}/caddy-stack.yml"
3838
configs:
39-
- {name: 'global_caddyfile', file_path: "{{ assets_path }}/Caddyfile"}
39+
- {name: 'global_caddyfile', file_path: "{{ caddy_dir }}/Caddyfile"}
4040

4141
- name: Manager Caddy Secrets
4242
include_role:

ansible/roles/utils-rotate-docker-configs/tasks/main.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@
77
- name: Gather file stats and checksums
88
stat:
99
path: "{{ item.file_path }}"
10+
checksum: md5
1011
loop: "{{ configs }}"
1112
register: file_stats
1213

13-
- name: Print file stats
14-
ansible.builtin.debug:
15-
msg: "{{ file_stats }}"
16-
1714
- name: Create dictionary of checksums
1815
set_fact:
1916
config_checksums: "{{ config_checksums | default({}) | combine({ item.name: file_stats.results[idx].stat.checksum }) }}"

0 commit comments

Comments
 (0)