fix formatting error

This commit is contained in:
tolerryan
2024-11-05 22:09:28 -06:00
parent 1f72976d94
commit d76a38e146

View File

@@ -80,18 +80,18 @@
# project_src: /home/docker/
# register: output
- name: Check if docker config directory exists
stat:
path: /home/docker/qbittorrent
register: wikmd_stat
- name: Check if docker config directory exists
stat:
path: /home/docker/qbittorrent
register: grail_stat
- name: Restore docker config Dir
shell: |
restic --password-file ./.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest
args:
chdir: /home/docker
creates: /home/docker/qbitorrent
when: not wikmd_stat.stat.exists or not wikmd_stat.stat.isdir
- name: Restore docker config Dir
shell: |
restic --password-file ./.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest
args:
chdir: /home/docker
creates: /home/docker/qbitorrent
when: not grail_stat.stat.exists or not grail_stat.stat.isdir
- name: Reload systemd daemon
systemd: