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/common.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 '')
-rw-r--r-- | tasks/common.yml | 10 |
1 files changed, 1 insertions, 9 deletions
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: |