From abd11fdfeff1d560b3778a52f75619c9152bd258 Mon Sep 17 00:00:00 2001 From: AlejandroSuero Date: Fri, 29 Mar 2024 11:12:47 +0000 Subject: [PATCH] feat(spotify): check for architecture --- roles/spotify/tasks/Ubuntu.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/spotify/tasks/Ubuntu.yml b/roles/spotify/tasks/Ubuntu.yml index 6fced58..edeb16c 100644 --- a/roles/spotify/tasks/Ubuntu.yml +++ b/roles/spotify/tasks/Ubuntu.yml @@ -1,6 +1,6 @@ --- -- name: Spotify | Install snap +- name: Spotify | Install snap | {{ ansible_architecture }} community.general.snap: name: spotify state: present - when: not ansible_host_environment_is_wsl + when: not ansible_host_environment_is_wsl and ansible_architecture == "amd64"