snackpot.yml,requirements.yml - update for ansible 2.18.6

This commit is contained in:
Nick Stokoe
2025-05-25 18:30:55 +01:00
parent 4a759b3ff1
commit 8ad6e1c81c
2 changed files with 8 additions and 5 deletions

View File

@@ -87,7 +87,7 @@
file:
path: "{{ docker_compose_base_dir }}/{{ item.path }}"
state: directory
with_filetree: templates/docker-compose
with_community.general.filetree: templates/docker-compose
when: item.state == "directory" and item.path.count("/.") == 0
tags: docker-config
@@ -100,7 +100,7 @@
mode: 0660
backup: yes
notify: restart docker compose services
with_filetree: templates/docker-compose
with_community.general.filetree: templates/docker-compose
when: item.state == "file" and item.path.endswith(".j2")
tags: docker-config
@@ -113,7 +113,7 @@
mode: 0660
backup: yes
notify: restart docker compose services
with_filetree: templates/docker-compose
with_community.general.filetree: templates/docker-compose
when: |-
item.state == "file" and not (
item.path.endswith("~") or item.path.endswith(".j2")
@@ -134,7 +134,7 @@
owner: root
group: root
mode: 0550
with_filetree: templates/bin
with_community.general.filetree: templates/bin
when: item.state == "file" and not item.path.endswith("~")
tags: docker-config
@@ -149,7 +149,7 @@
- appserver.service
- borg.service
- borg.timer
tags: docker-config
tags: docker-configz
- name: enable backup service
service: