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: