more fixs being done

This commit is contained in:
Matthew Stobbs
2025-02-21 09:54:07 -07:00
parent 481385af57
commit 4b995a3c07
16 changed files with 162 additions and 95 deletions

View File

@@ -2,11 +2,21 @@
---
- name: Set bitwarden install method
ansible.builtin.set_fact:
bw:
bitwarden:
method: "{{ pkgconfig.bitwarden.method[ansible_distribution] | default('appimage') }}"
- name: Set bitwarden config
ansible.builtin.set_fact:
bw:
pkg: "{{ pkgconfig.bitwarden[bw.method] }}"
method: "{{ bw.method }}"
bitwarden:
pkg: "{{ pkgconfig.bitwarden[bitwarden.method] }}"
method: "{{ bitwarden.method }}"
- name: Set bitwarden config for appimage install
when:
- bitwarden.method == 'appimage'
ansible.builtin.set_fact:
bitwarden:
method: appimage
file: "{{ pkgconfig.bitwarden.appimage.name }}"
link_name: "{{ pkgconfig.bitwarden.appimage.link_name }}"
url: "{{ pkgconfig.bitwarden.appimage.url }}"

4
tasks/config/fd.yml Normal file
View File

@@ -0,0 +1,4 @@
- name: Set fd config
ansible.builtin.set_fact:
fd:
pkgs: "{{ pkgconfig.fd.pkgs[ansible_os_famly] }}"

View File

@@ -1,8 +1,24 @@
# vim: set filetype=yaml.ansible :
---
version: v1.0.1
optimize: ReleaseFast
build: false
dobecome: true
owner: root
group: root
- name: Set ghostty install method
ansible.builtin.set_fact:
ghostty:
method: "{{ pkgconfig.ghostty.method[ansible_distribution] | default(pkgconfig.ghostty.method.default) }}"
- name: Set ghostty config
ansible.builtin.set_fact:
ghostty:
arch: "{{ pkgconfig.ghostty.archmap[ansible_architecture] }}"
deps: "{{ pkgconfig.ghostty.build_deps[ansible_os_family] }}"
vers: "{{ pkgconfig.ghostty.version }}"
pkg: "{{ pkgconfig.ghosty[ghostty.method] }}"
- name: Set ghostty config for appimage install
when:
- ghostty.method == 'appimage'
ansible.builtin.set_fact:
ghostty:
method: appimage
file: "Ghostty-{{ ghostty.vers }}-{{ ghostty.arch }}.AppImage"
link_name: "{{ pkgconfig.ghostty.appimage.link_name }}"
url: "{{ pkgconfig.ghostty.appimage.base_url }}/v{{ ghostty.vers }}/Ghostty-{{ ghostty.vers }}-{{ ghostty.arch }}.AppImage"

View File

@@ -1,4 +1,4 @@
- name: Set kitty config
ansible.buitlin.set_fact:
ansible.builtin.set_fact:
kitty:
pkgs: "{{ pkgconfig.kitty.pkgs[ansible_system] }}"

View File

@@ -1,10 +1,20 @@
# vim: set filetype=yaml.ansible :
---
version: v0.10.3
install_prefix: "{{ default_install_prefix }}"
install_dir: /opt/nvim
install_method: appimage
build_type: Release
dobecome: true
owner: root
group: root
- name: Set neovim install method
ansible.builtin.set_fact:
neovim:
method: "{{ pkgconfig.neovim.method[ansible_distribution] | default(pkgconfig.neovim.method.default) }}"
- name: Set neovim config
ansible.builtin.set_fact:
neovim:
vers: "v{{ pkgconfig.neovim.version }}"
- name: Set neovim config for appimage install
when:
- neovim.method == 'appimage'
ansible.builtin.set_fact:
neovim:
file: "nvim-linux-{{ ansible_architecture }}.appimage"
link_name: nvim
url: "{{ pkgconfig.neovim.appimage.base_url }}/{{ neovim.vers }}/nvim-linux-{{ ansible_architecture }}.appimage"