diff options
| author | Colin Wilk <colin.wilk@tum.de> | 2023-05-22 20:17:27 +0200 |
|---|---|---|
| committer | Colin Wilk <colin.wilk@tum.de> | 2023-05-24 19:40:29 +0200 |
| commit | 1f1f6eeaebc148602085515350eb12829f86c315 (patch) | |
| tree | 46dd4aa80ab9125a3254e2b1a26847f41a9e79d6 /tasks/installation.yml | |
| download | ansible-role-borgbackup-1f1f6eeaebc148602085515350eb12829f86c315.tar.gz ansible-role-borgbackup-1f1f6eeaebc148602085515350eb12829f86c315.zip | |
init
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'tasks/installation.yml')
| -rw-r--r-- | tasks/installation.yml | 21 |
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" |