ansible-roles/apt/tasks/evolix_public.yml
Jérémy Lecour 047605a2a2
All checks were successful
continuous-integration/drone/push Build is passing
evolinux-base: use a dearmored signature, stored in the correct location
2021-05-01 17:20:06 +02:00

28 lines
506 B
YAML

---
# https://wiki.debian.org/DebianRepository/UseThirdParty
- name: Add Evolix GPG key
copy:
src: reg.gpg
dest: /usr/share/keyrings/reg.gpg
force: yes
tags:
- apt
- name: Evolix public list is installed
template:
src: evolix_public.list.j2
dest: /etc/apt/sources.list.d/evolix_public.list
force: yes
mode: "0640"
register: apt_evolix_public
tags:
- apt
- name: Apt update
apt:
update_cache: yes
when: apt_evolix_public is changed
tags:
- apt