From 7db70452d81ec5d3521753ea72b310666aec53f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 2 Oct 2021 11:07:14 +0200 Subject: [PATCH] Install spotify via third-party repo on ubuntu --- playbook.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/playbook.yml b/playbook.yml index cc25749..063fad0 100644 --- a/playbook.yml +++ b/playbook.yml @@ -436,6 +436,27 @@ when: distro == 'ubuntu' tags: [yubikey-touch-detector] + - block: + - name: add spotify apt key + apt_key: + url: "https://download.spotify.com/debian/pubkey_0D811D58.gpg" + id: "D1742AD60D811D58" + become: true + + - name: add spotify repository + apt_repository: + repo: "deb http://repository.spotify.com stable non-free" + filename: spotify + become: true + + - name: install spotify + apt: + name: spotify-client + update_cache: true + become: true + when: distro == 'ubuntu' + tags: [spotify] + - name: create dotfiles group group: name: dotfiles