This commit is contained in:
2024-11-30 10:37:13 +01:00
parent 0dd948c594
commit de663b64b4

View File

@@ -12,7 +12,14 @@
daemon_reload: true daemon_reload: true
when: preinstalled == false or preinstalled is not defined 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: apt_key:
url: "https://download.jitsi.org/jitsi-key.gpg.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). state: present # not required. choices: absent;present. Ensures that the key is present (added) or absent (revoked).