aboutsummaryrefslogtreecommitdiff
path: root/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index 3433cb8..daa0836 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -2,10 +2,10 @@
- action: borg_init
- import_tasks: common.yml
- when: borg.is_server or borg_server is defined
+ when: borg.server.clients != [] or borg_server is defined
- import_tasks: server.yml
- when: borg.is_server
+ when: borg.server.clients != []
- import_tasks: client.yml
when: borg_server is defined