summaryrefslogtreecommitdiff
path: root/roles/apt-repo/riot/tasks/main.yml
blob: 060cc8e35de8b28e93d77e5b94e1895ef8c1b4f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- 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/ default main
    dest: /etc/apt/sources.list.d/riot.list
  notify: update apt cache

- name: update apt cache
  meta: flush_handlers