From 49ff41ee0a085377e87f91d777307720e3dd8988 Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 3 Aug 2023 04:11:24 +0200 Subject: [PATCH] upt playbook --- playbooks/install_morefine.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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