remove backup from n8n - new build

This commit is contained in:
tolerryan
2025-11-29 00:21:01 -06:00
parent 7fae43665d
commit 4400ac922b

View File

@@ -68,18 +68,18 @@
group: docker group: docker
mode: u=rw,g=r,o=r mode: u=rw,g=r,o=r
- name: Check if docker config directory exists #- name: Check if docker config directory exists
stat: # stat:
path: /home/docker/data # path: /home/docker/data
register: data_stat # register: data_stat
- name: Restore docker config Dir #- name: Restore docker config Dir
shell: | # shell: |
restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest # restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest
args: # args:
chdir: /home/docker/ # chdir: /home/docker/
creates: /home/docker/data # creates: /home/docker/data
when: not data_stat.stat.exists or not data_stat.stat.isdir # when: not data_stat.stat.exists or not data_stat.stat.isdir
- name: Reload systemd daemon - name: Reload systemd daemon
systemd: systemd: