From 82902ea327dcc35b12bc13c20feb0bcd24e59d2b Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Thu, 15 Aug 2024 16:32:16 +0200 Subject: [PATCH] Switch backup to deja-dup --- roles/backup/tasks/deja-dup.yml | 6 ++++++ roles/backup/tasks/main.yml | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 roles/backup/tasks/deja-dup.yml diff --git a/roles/backup/tasks/deja-dup.yml b/roles/backup/tasks/deja-dup.yml new file mode 100644 index 0000000..7d7714b --- /dev/null +++ b/roles/backup/tasks/deja-dup.yml @@ -0,0 +1,6 @@ +- name: "[Arch] install deja-dup" + become: yes + community.general.pacman: + name: + - deja-dup + when: ansible_distribution == "Archlinux" diff --git a/roles/backup/tasks/main.yml b/roles/backup/tasks/main.yml index 6d32278..b3ed972 100644 --- a/roles/backup/tasks/main.yml +++ b/roles/backup/tasks/main.yml @@ -1,3 +1,2 @@ --- -- import_tasks: arch.yml - when: ansible_distribution == "Archlinux" +- import_tasks: deja-dup.yml