summaryrefslogtreecommitdiff
path: root/ansible/roles/riot-host/tasks/main.yml
blob: b8cfa2e49a1b63bef6af1b4a2d4e5ed1b7ca7fb0 (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: 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
  args:
    warn: false

- apt:
    name: element-desktop