fix bitwarden and ghostty for osx

This commit is contained in:
Matthew Stobbs
2025-03-18 19:27:34 -06:00
parent 5c58a97b27
commit eb46fe09e9
3 changed files with 3 additions and 5 deletions

View File

@@ -9,15 +9,12 @@
- name: Set bitwarden install method for MacOSX - name: Set bitwarden install method for MacOSX
when: when:
- ansible_distribution == 'MacOSX' - ansible_system == 'Darwin'
ansible.builtin.set_fact: ansible.builtin.set_fact:
bitwarden: bitwarden:
method: cask method: cask
- name: Set bitwarden config - name: Set bitwarden config
when:
- bitwarden.method == 'sys' or
bitwarden.method == 'cask'
ansible.builtin.set_fact: ansible.builtin.set_fact:
bitwarden: bitwarden:
pkg: "{{ pkgconfig.bitwarden[bitwarden.method] }}" pkg: "{{ pkgconfig.bitwarden[bitwarden.method] }}"

View File

@@ -28,7 +28,7 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
ghostty: ghostty:
method: "{{ ghostty.method }}" method: "{{ ghostty.method }}"
pkg: "{{ pkconfig.ghostty[ghostty.method] }}" pkg: "{{ pkgconfig.ghostty[ghostty.method] }}"
pkg_repo: "{{ pkgconfig.ghostty.pkg_repo[ansible_distribution] | default(omit) }}" pkg_repo: "{{ pkgconfig.ghostty.pkg_repo[ansible_distribution] | default(omit) }}"
- name: Set ghostty config for appimage install - name: Set ghostty config for appimage install

View File

@@ -44,6 +44,7 @@
pkg_cask: [] # homebrew casks pkg_cask: [] # homebrew casks
pkg_tap: [] # homebrew tap packages pkg_tap: [] # homebrew tap packages
sys_pkg_become: false # homebrew doesn't require sudo access sys_pkg_become: false # homebrew doesn't require sudo access
lib_path: lib
- name: Set paths - name: Set paths
ansible.builtin.set_fact: ansible.builtin.set_fact: