aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/installation.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/installation.yml')
-rw-r--r--tasks/installation.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tasks/installation.yml b/tasks/installation.yml
new file mode 100644
index 0000000..af379e6
--- /dev/null
+++ b/tasks/installation.yml
@@ -0,0 +1,21 @@
+---
+- name: Install Debian Server dependencies
+ ansible.builtin.apt:
+ name:
+ - borgbackup
+ state: present
+ update_cache: true
+ become: true
+ when: ansible_facts['os_family'] == "Debian"
+ delegate_to: "{{ borg_server_host }}"
+
+- name: Install Debian Client dependencies
+ ansible.builtin.apt:
+ name:
+ - borgbackup
+ - cron
+ - ssh
+ state: present
+ update_cache: true
+ become: true
+ when: ansible_facts['os_family'] == "Debian"