First commit
This commit is contained in:
10
roles/borgbackup/tasks/main.yml
Normal file
10
roles/borgbackup/tasks/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- set_fact:
|
||||
borgbackup: borg
|
||||
when: ansible_facts['distribution'] == "Archlinux"
|
||||
- set_fact:
|
||||
borgbackup: borgbackup
|
||||
when: ansible_facts['distribution'] == "Debian"
|
||||
- name: install borg package
|
||||
package:
|
||||
name: "{{ borgbackup }}"
|
||||
state: present
|
Reference in New Issue
Block a user