Add support for Ubuntu 20.04

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-10-07 00:40:16 +02:00
parent eab873fbf1
commit 78a8616bb0
Signed by: luzifer
GPG Key ID: 0066F03ED215AD7D

View File

@ -8,6 +8,17 @@
- lftp - lftp
- python-pip - python-pip
update_cache: yes 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 - name: Install required pip package
pip: pip: