Commit e75f8e59 authored by Jocelyn Delalande's avatar Jocelyn Delalande

borg-server: Fix borg program presence check

The previous way worked only if borg was installed via pip and was failing with
apt-installed borg
parent 642b206c
......@@ -2,7 +2,7 @@
user: name={{ borg_server_user }} home={{ borg_server_home }}
- name: Check that borg is installed (see borg-common role)
file: path=/usr/local/bin/borg state=file follow=yes
command: "which borg"
- name: Create base dir to store backups
file: name="{{ borg_server_repositories }}" state=directory
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment