diff --git a/playbooks/install_morefine.yaml b/playbooks/install_morefine.yaml index bd7c0b3..071fb78 100644 --- a/playbooks/install_morefine.yaml +++ b/playbooks/install_morefine.yaml @@ -57,10 +57,17 @@ ansible.builtin.apt: deb: http://192.168.77.106:48000/install/VNC-Server-6.11.0-Linux-x64.deb ignore_errors: true + + - name: Download Docker gpg key + get_url: + url: https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg + dest: /tmp/tempkey + + - name: Get repo become: true ansible.builtin.shell: >- - curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg + cat /tmp/tempkey |gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg - name: Get repo