--- - 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