diff options
author | Julien Dessaux | 2021-05-02 18:42:01 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-05-02 18:42:01 +0200 |
commit | 5d9a22501476b3384451b98eeb6b1dee65fed21d (patch) | |
tree | 51bcbd1914beda62ea450fb14bba3ee13670e52a /tasks/main.yml | |
parent | Fixed stupid ansible python sucks silent name collision (diff) | |
download | borg-ansible-role-5d9a22501476b3384451b98eeb6b1dee65fed21d.tar.gz borg-ansible-role-5d9a22501476b3384451b98eeb6b1dee65fed21d.tar.bz2 borg-ansible-role-5d9a22501476b3384451b98eeb6b1dee65fed21d.zip |
Reworked and improved borg role
Diffstat (limited to 'tasks/main.yml')
-rw-r--r-- | tasks/main.yml | 4 |
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 |