31 lines
676 B
YAML
31 lines
676 B
YAML
---
|
|
|
|
# - name: Fail if distribution is not supported
|
|
# fail:
|
|
# msg: "Error: Evolix public repository is not compatble with 'Debian Stretch' yet."
|
|
# when: ansible_distribution_release == "stretch"
|
|
# tags:
|
|
# - apt-repositories
|
|
|
|
|
|
- name: Add Evolix GPG key
|
|
apt_key:
|
|
keyserver: "hkp://keyserver.ubuntu.com:80"
|
|
id: 44975278B8612B5D
|
|
|
|
- name: Evolix public list is installed
|
|
template:
|
|
src: evolix_public.list.j2
|
|
dest: /etc/apt/sources.list.d/evolix_public.list
|
|
force: yes
|
|
backup: yes
|
|
mode: "0640"
|
|
notify: apt update
|
|
tags:
|
|
- apt-repositories
|
|
|
|
- name: Intermediate flush of handlers
|
|
meta: flush_handlers
|
|
tags:
|
|
- apt-repositories
|