summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--playbook.yaml6
1 files changed, 1 insertions, 5 deletions
diff --git a/playbook.yaml b/playbook.yaml
index 6c61e68..8dc6fd8 100644
--- a/playbook.yaml
+++ b/playbook.yaml
@@ -90,8 +90,8 @@
owner: root
group: root
mode: "0600"
+ validate: validate-borgmatic-config --config %s
become: true
- notify: Validate borgmatic config
handlers:
- name: Reload prosody
@@ -99,7 +99,3 @@
name: prosody
state: reloaded
become: true
- - name: Validate borgmatic config
- ansible.builtin.command: validate-borgmatic-config
- become: true
- changed_when: false