snackpot.yml,requirements.yml - update for ansible 2.18.6
This commit is contained in:
@@ -4,3 +4,6 @@ roles:
|
|||||||
- name: mrlesmithjr.netplan
|
- name: mrlesmithjr.netplan
|
||||||
version: v0.3.0
|
version: v0.3.0
|
||||||
|
|
||||||
|
collections:
|
||||||
|
- name: community.general
|
||||||
|
|
||||||
|
|||||||
10
snackpot.yml
10
snackpot.yml
@@ -87,7 +87,7 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ docker_compose_base_dir }}/{{ item.path }}"
|
path: "{{ docker_compose_base_dir }}/{{ item.path }}"
|
||||||
state: directory
|
state: directory
|
||||||
with_filetree: templates/docker-compose
|
with_community.general.filetree: templates/docker-compose
|
||||||
when: item.state == "directory" and item.path.count("/.") == 0
|
when: item.state == "directory" and item.path.count("/.") == 0
|
||||||
tags: docker-config
|
tags: docker-config
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
mode: 0660
|
mode: 0660
|
||||||
backup: yes
|
backup: yes
|
||||||
notify: restart docker compose services
|
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")
|
when: item.state == "file" and item.path.endswith(".j2")
|
||||||
tags: docker-config
|
tags: docker-config
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
mode: 0660
|
mode: 0660
|
||||||
backup: yes
|
backup: yes
|
||||||
notify: restart docker compose services
|
notify: restart docker compose services
|
||||||
with_filetree: templates/docker-compose
|
with_community.general.filetree: templates/docker-compose
|
||||||
when: |-
|
when: |-
|
||||||
item.state == "file" and not (
|
item.state == "file" and not (
|
||||||
item.path.endswith("~") or item.path.endswith(".j2")
|
item.path.endswith("~") or item.path.endswith(".j2")
|
||||||
@@ -134,7 +134,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0550
|
mode: 0550
|
||||||
with_filetree: templates/bin
|
with_community.general.filetree: templates/bin
|
||||||
when: item.state == "file" and not item.path.endswith("~")
|
when: item.state == "file" and not item.path.endswith("~")
|
||||||
tags: docker-config
|
tags: docker-config
|
||||||
|
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
- appserver.service
|
- appserver.service
|
||||||
- borg.service
|
- borg.service
|
||||||
- borg.timer
|
- borg.timer
|
||||||
tags: docker-config
|
tags: docker-configz
|
||||||
|
|
||||||
- name: enable backup service
|
- name: enable backup service
|
||||||
service:
|
service:
|
||||||
|
|||||||
Reference in New Issue
Block a user