summaryrefslogtreecommitdiff
path: root/ansible/roles/riot-host/tasks/main.yml
blob: 402da88c6340daf00c513c9807e2ae6367684a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- name: "install riot.im keyring"
  copy:
    src: riot-im-archive-keyring.gpg
    dest: /etc/apt/trusted.gpg.d/

- apt_repository:
    repo: "deb [signed-by=/etc/apt/trusted.gpg.d/riot-im-archive-keyring.gpg] https://packages.riot.im/debian/ {{ sane_debian_system_codename }} main"
    update_cache: no

# Use shell to run apt-get, rather than the Ansible apt module, so
# that we can pass in the --allow-releaseinfo--change option.
- name: update package lists
  shell: |
    apt-get update --allow-releaseinfo-change
  args:
    warn: false

- apt:
    name: element-desktop