From 1f1f6eeaebc148602085515350eb12829f86c315 Mon Sep 17 00:00:00 2001 From: Colin Wilk Date: Mon, 22 May 2023 20:17:27 +0200 Subject: init Signed-off-by: Colin Wilk --- tasks/installation.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tasks/installation.yml (limited to 'tasks/installation.yml') 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" -- cgit v1.2.3