From 78a8616bb0ac3225fa16d8c933050ab61ee57fe5 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 7 Oct 2021 00:40:16 +0200 Subject: [PATCH] Add support for Ubuntu 20.04 Signed-off-by: Knut Ahlers --- tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index df69581..9c55e6c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,6 +8,17 @@ - lftp - python-pip update_cache: yes + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version != '20.04' + +- name: Install required apt packages + apt: + name: + - duplicity + - gnupg + - lftp + - python3-pip + update_cache: yes + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04' - name: Install required pip package pip: