Debian have deprecated apt-key

This commit is contained in:
Anthony Rose 2023-08-05 14:26:17 +01:00
parent f8ad64f7d8
commit 2bca6029e9
3 changed files with 9 additions and 6 deletions

View file

@ -15,9 +15,10 @@
- name: Install Google signing key - name: Install Google signing key
become: true become: true
ansible.builtin.apt_key: ansible.builtin.get_url:
id: EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796
url: https://dl.google.com/linux/linux_signing_key.pub url: https://dl.google.com/linux/linux_signing_key.pub
dest: /etc/apt/trusted.gpg.d/google.gpg
checksum: fb8df9740df6a1125fd2983465d830b764b63cd92d5ada8b5bbf75927d6a71ee
- name: Install Google repository - name: Install Google repository
become: true become: true
ansible.builtin.lineinfile: ansible.builtin.lineinfile:

View file

@ -15,9 +15,10 @@
- name: Install Microsoft signing key - name: Install Microsoft signing key
become: true become: true
ansible.builtin.apt_key: ansible.builtin.get_url:
id: BC528686B50D79E339D3721CEB3E94ADBE1229CF
url: https://packages.microsoft.com/keys/microsoft.asc url: https://packages.microsoft.com/keys/microsoft.asc
dest: /etc/apt/trusted.gpg.d/microsoft.gpg
checksum: 2cfd20a306b2fa5e25522d78f2ef50a1f429d35fd30bd983e2ebffc2b80944fa
- name: Install vscode repository - name: Install vscode repository
become: true become: true
ansible.builtin.lineinfile: ansible.builtin.lineinfile:

View file

@ -15,9 +15,10 @@
- name: Install paulcarroty signing key - name: Install paulcarroty signing key
become: true become: true
ansible.builtin.apt_key: ansible.builtin.get_url:
id: 1302DE60231889FE1EBACADC54678CF75A278D9C
url: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg url: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
dest: /etc/apt/trusted.gpg.d/paulcarroty.gpg
checksum: dbdfd9af3b83b72a24c89160ce7638418142e2cf4736ab53e5061e10070f13c1
- name: Install VSCodium repository - name: Install VSCodium repository
become: true become: true
ansible.builtin.lineinfile: ansible.builtin.lineinfile: