From aab2daf5b7b46df7efae575f67cc50759ee25244 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 3 May 2019 22:42:12 +0200 Subject: [PATCH] Fix Riot depo key --- roles/matrix-riot/tasks/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/roles/matrix-riot/tasks/main.yml b/roles/matrix-riot/tasks/main.yml index e7b4068..f2b7a75 100644 --- a/roles/matrix-riot/tasks/main.yml +++ b/roles/matrix-riot/tasks/main.yml @@ -9,22 +9,22 @@ retries: 3 until: apt_result is succeeded +# Add the key +- name: Configure the apt key + apt_key: + url: https://riot.im/packages/debian/repo-key.asc + id: D7B0B66941D01538 + state: present + register: apt_key_result + retries: 3 + until: apt_key_result is succeeded + # Add the repository into source list - name: Configure riot repository apt_repository: repo: deb https://riot.im/packages/debian/ {{ ansible_distribution_release }} main state: present -# Add the key -- name: Configure the apt key - apt_key: - url: https://riot.im/packages/debian/repo-key.asc - id: E019645248E8F4A1 - state: present - register: apt_key_result - retries: 3 - until: apt_key_result is succeeded - - name: Install riot-web apt: update_cache: true