From d76a38e146755402439f0a6c02f4334d1a46dfbc Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Tue, 5 Nov 2024 22:09:28 -0600 Subject: [PATCH] fix formatting error --- roles/ind/grail/grail-install.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/roles/ind/grail/grail-install.yml b/roles/ind/grail/grail-install.yml index 07a5b07..04ddcd5 100644 --- a/roles/ind/grail/grail-install.yml +++ b/roles/ind/grail/grail-install.yml @@ -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: