- 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