summaryrefslogtreecommitdiff
path: root/roles/apt-repo/riot/tasks
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-28 01:58:42 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-28 01:58:42 +0200
commitb94247d67d02b85207607fdcdc7b6db751d183ae (patch)
treea1d7dfd784b757faef8815c2fbe2bbb029011d1f /roles/apt-repo/riot/tasks
parentadd simple postfix to sk-tomnext-nc (diff)
add riot-desktop to ch-equinox-ws
Diffstat (limited to 'roles/apt-repo/riot/tasks')
-rw-r--r--roles/apt-repo/riot/tasks/main.yml21
1 files changed, 21 insertions, 0 deletions
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