evoadmin-mail: apt modules already knows how to download packages

This commit is contained in:
Jérémy Lecour 2024-02-06 13:59:28 +01:00 committed by Jérémy Lecour
parent 75650032d4
commit 47d7141a66
Signed by: jlecour
SSH Key Fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY
1 changed files with 1 additions and 9 deletions

View File

@ -4,17 +4,9 @@
ansible.builtin.include_role:
name: evolix/remount-usr
- name: Get evoadmin-mail package
ansible.builtin.get_url:
url: https://pub.evolix.org/evolix/pool/main/e/evoadmin-mail/evoadmin-mail_1.0.9-2_all.deb
dest: /tmp/evoadmin-mail.deb
when: ansible_distribution_major_version is version('12', '<')
tags:
- evoadmin-mail
- name: Install evoadmin-mail package
ansible.builtin.apt:
deb: /tmp/evoadmin-mail.deb
deb: https://pub.evolix.org/evolix/pool/main/e/evoadmin-mail/evoadmin-mail_1.0.9-2_all.deb
state: present
when: ansible_distribution_major_version is version('12', '<')
tags: