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

- apt_repository:
    repo: "deb [signed-by=/etc/apt/trusted.gpg.d/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default 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

- apt:
    name: element-desktop