start developing module for go_install

not going to be used for a long time
Making pkg tasks truly single file
This commit is contained in:
Matthew Stobbs
2026-03-03 21:35:46 -07:00
parent 065031b77f
commit 692e9dd99a
28 changed files with 417 additions and 537 deletions

View File

@@ -1,31 +0,0 @@
# vim: set filetype=yaml.ansible :
---
- name: Add bitwarden
when:
- bitwarden_configured is undefined
block:
- name: Load bitwarden config
ansible.builtin.include_tasks:
file: config/bitwarden.yml
- name: Append bitwarden to pkg_flatpak
when:
- bitwarden.method == 'flatpak'
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [bitwarden.pkg] }}"
- name: Append bitwarden to pkg_appimage
when:
- bitwarden.method == 'appimage'
ansible.builtin.set_fact:
pkg_appimage: "{{ pkg_appimage + [bitwarden.pkg] }}"
- name: Append bitwarden to pkg_cask
when:
- bitwarden.method == 'cask'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + [bitwarden.pkg] }}"
- name: Set bitwarden_configured
ansible.builtin.set_fact:
bitwarden_configured: true