2017-05-21 11:00:46 +02:00
|
|
|
---
|
|
|
|
|
2017-06-15 10:20:35 +02:00
|
|
|
# - 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
|
2017-06-13 12:02:49 +02:00
|
|
|
|
2017-05-21 11:00:46 +02:00
|
|
|
- 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
|
2017-06-13 12:02:49 +02:00
|
|
|
tags:
|
|
|
|
- apt-repositories
|
2017-05-23 15:23:08 +02:00
|
|
|
|
|
|
|
- name: Intermediate flush of handlers
|
|
|
|
meta: flush_handlers
|
2017-06-13 12:02:49 +02:00
|
|
|
tags:
|
|
|
|
- apt-repositories
|