From ed64bbede59de0ef03e581d3b1548d244df9e528 Mon Sep 17 00:00:00 2001 From: Matthew Evans <7916000+ml-evs@users.noreply.github.com> Date: Mon, 12 Aug 2024 23:46:37 +0100 Subject: [PATCH] Fix indent (#15) --- ansible/roles/borg/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/borg/tasks/main.yml b/ansible/roles/borg/tasks/main.yml index ddfe458..57f7079 100644 --- a/ansible/roles/borg/tasks/main.yml +++ b/ansible/roles/borg/tasks/main.yml @@ -68,7 +68,7 @@ ansible.builtin.shell: cmd: source /home/{{ ansible_user }}/.profile && borgmatic init --encryption=repokey executable: /bin/bash - register: result + register: result changed_when: '"Repository already exists" not in result.stdout' failed_when: result.rc != 0