From 8ad6e1c81c25d051c8eaf762a571d47159689bff Mon Sep 17 00:00:00 2001 From: Nick Stokoe Date: Sun, 25 May 2025 18:30:55 +0100 Subject: [PATCH] snackpot.yml,requirements.yml - update for ansible 2.18.6 --- requirements.yml | 3 +++ snackpot.yml | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/requirements.yml b/requirements.yml index 20ef2e1..754c0e7 100644 --- a/requirements.yml +++ b/requirements.yml @@ -4,3 +4,6 @@ roles: - name: mrlesmithjr.netplan version: v0.3.0 +collections: + - name: community.general + diff --git a/snackpot.yml b/snackpot.yml index 855ee6a..cd612bc 100644 --- a/snackpot.yml +++ b/snackpot.yml @@ -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: