From b94247d67d02b85207607fdcdc7b6db751d183ae Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 28 May 2020 01:58:42 +0200 Subject: add riot-desktop to ch-equinox-ws --- roles/apt-repo/riot/files/repo.gpg | Bin 0 -> 2887 bytes roles/apt-repo/riot/handlers/main.yml | 4 ++++ roles/apt-repo/riot/tasks/main.yml | 21 +++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 roles/apt-repo/riot/files/repo.gpg create mode 100644 roles/apt-repo/riot/handlers/main.yml create mode 100644 roles/apt-repo/riot/tasks/main.yml (limited to 'roles/apt-repo') diff --git a/roles/apt-repo/riot/files/repo.gpg b/roles/apt-repo/riot/files/repo.gpg new file mode 100644 index 00000000..888764a5 Binary files /dev/null and b/roles/apt-repo/riot/files/repo.gpg differ diff --git a/roles/apt-repo/riot/handlers/main.yml b/roles/apt-repo/riot/handlers/main.yml new file mode 100644 index 00000000..03ed878a --- /dev/null +++ b/roles/apt-repo/riot/handlers/main.yml @@ -0,0 +1,4 @@ +--- +- name: update apt cache + apt: + update_cache: yes diff --git a/roles/apt-repo/riot/tasks/main.yml b/roles/apt-repo/riot/tasks/main.yml new file mode 100644 index 00000000..46e977e0 --- /dev/null +++ b/roles/apt-repo/riot/tasks/main.yml @@ -0,0 +1,21 @@ +--- +- name: install apt https transport + apt: + name: apt-transport-https + state: present + +- name: add repository key + copy: + src: repo.gpg + dest: /etc/apt/trusted.gpg.d/riot.gpg + notify: update apt cache + +- name: add repository entry + copy: + content: | + deb https://riot.im/packages/debian/ {{ ansible_distribution_release }} main + dest: /etc/apt/sources.list.d/riot.list + notify: update apt cache + +- name: update apt cache + meta: flush_handlers -- cgit v1.2.3