diff --git a/roles/jitsimeet/tasks/prepare_system.yml b/roles/jitsimeet/tasks/prepare_system.yml index 0ac209d..802e0eb 100644 --- a/roles/jitsimeet/tasks/prepare_system.yml +++ b/roles/jitsimeet/tasks/prepare_system.yml @@ -12,7 +12,14 @@ daemon_reload: true when: preinstalled == false or preinstalled is not defined - - name: jitsimeet | import GPG key + - name: jitsimeet | import GPG keys + get_url: + url: "{{ item }}" # required. HTTP, HTTPS, or FTP URL in the form (http|https|ftp)://[user[:pass]]@host.domain[:port]/path + dest: "/etc/apt/keyrings/{{ item | urlsplit('path') | basename | splitext | first}}.asc" # required. Absolute path of where to download the file to. If C(dest) is a directory, either the server provided filename or, if none provided, the base name of the URL on the remote server will be used. If a directory, C(force) has no effect. If C(dest) is a directory, the file will always be downloaded (regardless of the C(force) option), but replaced only if the contents changed.. + loop: + - "https://prosody.im/files/prosody-debian-packages.key" + - "https://download.jitsi.org/jitsi-key.gpg.key" + apt_key: url: "https://download.jitsi.org/jitsi-key.gpg.key" state: present # not required. choices: absent;present. Ensures that the key is present (added) or absent (revoked).