From 5c58a97b279e86673f39f59167bb8d3d2b217c37 Mon Sep 17 00:00:00 2001 From: Matthew Stobbs Date: Tue, 18 Mar 2025 19:22:35 -0600 Subject: [PATCH] fix bitwarden macos cask --- tasks/config/bitwarden.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tasks/config/bitwarden.yml b/tasks/config/bitwarden.yml index ed18a9a..cd78d27 100644 --- a/tasks/config/bitwarden.yml +++ b/tasks/config/bitwarden.yml @@ -1,10 +1,19 @@ # vim: set filetype=yaml.ansible : --- -- name: Set bitwarden install method +- name: Set bitwarden install method for Linux + when: + - ansible_system == 'Linux' ansible.builtin.set_fact: bitwarden: method: "{{ pkgconfig.bitwarden.method[ansible_distribution] | default('flatpak') }}" +- name: Set bitwarden install method for MacOSX + when: + - ansible_distribution == 'MacOSX' + ansible.builtin.set_fact: + bitwarden: + method: cask + - name: Set bitwarden config when: - bitwarden.method == 'sys' or