From a9aa1bdaafbeefc0c89ce1ef1c45dbae7487f62c Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" <benie@infektor.net> Date: Tue, 10 Dec 2024 00:54:17 +0000 Subject: [PATCH] Update apple-music role with for new win_winget module --- playbooks/Windows.yaml | 2 +- roles/apple-music/tasks/main.yaml | 7 ++++++- roles/cider/tasks/main.yaml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/playbooks/Windows.yaml b/playbooks/Windows.yaml index 5e477a7..f8415b2 100644 --- a/playbooks/Windows.yaml +++ b/playbooks/Windows.yaml @@ -6,7 +6,7 @@ roles: - role: 1password - role: autohotkey - - role: cider + - role: apple-music - role: ferdium - role: firefox - role: fonts diff --git a/roles/apple-music/tasks/main.yaml b/roles/apple-music/tasks/main.yaml index 4c77089..b5609ad 100644 --- a/roles/apple-music/tasks/main.yaml +++ b/roles/apple-music/tasks/main.yaml @@ -1,5 +1,10 @@ --- - name: install Apple Music from Microsoft Store win_winget: - id: 9PFHDD62MXS1 + name: Apple Music state: latest + +- name: remove Cider from Chocolatey + win_chocolatey: + name: Cider + state: absent diff --git a/roles/cider/tasks/main.yaml b/roles/cider/tasks/main.yaml index d9ee0e0..a0a612f 100644 --- a/roles/cider/tasks/main.yaml +++ b/roles/cider/tasks/main.yaml @@ -6,7 +6,7 @@ when: ansible_os_family == 'Windows' win_chocolatey: name: Cider - state: absent + state: latest - name: install flatpak package when: ansible_os_family != 'Windows'