From 5d9a22501476b3384451b98eeb6b1dee65fed21d Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 2 May 2021 18:42:01 +0200 Subject: Reworked and improved borg role --- tasks/common.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'tasks/common.yml') diff --git a/tasks/common.yml b/tasks/common.yml index 057cd25..6e8ed55 100644 --- a/tasks/common.yml +++ b/tasks/common.yml @@ -1,15 +1,7 @@ --- -- name: set distro-specific server variables - include_vars: '{{ ansible_os_family }}.yml' - -- name: Check if borg is supported on distro - fail: - msg: "borg tasks are not supported on this operating system yet." - when: borg_packages is not defined - - name: Ensure borg is installed package: - name: "{{ borg_packages }}" + name: "{{ borg.package_name }}" - name: Push borg gathering fact on client copy: -- cgit v1.2.3