fix broken packages

- standardize naming of each pkg append
- move _configured vars to end of block
This commit is contained in:
Matthew Stobbs
2025-03-09 21:48:11 -06:00
parent f22b5c1c4e
commit aff4fddfb4
114 changed files with 262 additions and 239 deletions

View File

@@ -4,7 +4,7 @@
when:
- air_configured is undefined
block:
- name: Add to pkg_go
- name: Append air to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -12,7 +12,7 @@
when:
- ansible_system == 'Linux'
block:
- name: Append to pkgs
- name: Append alacritty to pkg_sys and pkg_cargo
notify:
- Depend cargo
changed_when: true
@@ -20,7 +20,7 @@
pkg_sys: "{{ pkg_sys + alacritty.deps }}"
pkg_cargo: "{{ pkg_cargo + [alacritty] }}"
- name: Append alacritty to caskpkgs
- name: Append alacritty to pkg_cask
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- ansible_lint_configured is undefined
block:
- name: Append to pkgs
- name: Append ansible-lint to sys_pkg
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['ansible-lint'] }}"

View File

@@ -1,5 +1,5 @@
# vim: set filetype=yaml.ansible :
---
- name: Append to pkgs
- name: Append ansible to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['ansible'] }}"

View File

@@ -4,7 +4,7 @@
when:
- ansible_ls_configured is undefined
block:
- name: Add to pkg_npm
- name: Append ansible-language-server to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,17 +4,13 @@
when:
- aquamarine_configured is undefined
block:
- name: Set aquamarine_configured
ansible.builtin.set_fact:
aquamarine_configured: true
- name: Load aquamarine config
when:
- aquamarine is undefined
ansible.builtin.include_tasks:
file: config/aquamarine.yml
- name: Ensure pkg_deps are added
- name: Append aquamarine pkg_deps
loop: "{{ aquamarine.pkg_deps }}"
loop_control:
loop_var: aquamarine_pkg_dep
@@ -23,7 +19,11 @@
ansible.builtin.include_tasks:
file: "pkgs/{{ aquamarine_pkg_dep }}.yml"
- name: Append to pkg_sys
- name: Append aquamarine to pkg_sys and pkg_src
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + aquamarine.build_deps }}"
pkg_src: "{{ pkg_src + ['aquamarine'] }}"
- name: Set aquamarine_configured
ansible.builtin.set_fact:
aquamarine_configured: true

View File

@@ -4,7 +4,7 @@
when:
- bashls_configured is undefined
block:
- name: Add to pkg_npm
- name: Append bash-language-server to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- bat_configured is undefined
block:
- name: Append to pkg_sys
- name: Append bat to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['bat'] }}"

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/bitwarden.yml
- name: Append to pkg_flatpak
- name: Append bitwarden to pkg_flatpak
when:
- bitwarden.method == 'flatpak'
notify:
@@ -17,13 +17,13 @@
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [bitwarden.pkg] }}"
- name: Append to pkg_appimage
- name: Append bitwarden to pkg_appimage
when:
- bitwarden.method == 'appimage'
ansible.builtin.set_fact:
pkg_appimage: "{{ pkg_appimage + [bitwarden.pkg] }}"
- name: Append to pkg_cask
- name: Append bitwarden to pkg_cask
when:
- bitwarden.method == 'brew'
ansible.builtin.set_fact:

View File

@@ -4,13 +4,13 @@
when:
- blender_configured is undefined
block:
- name: Append to pkg_sys
- name: Append blender to pkg_sys
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['blender'] }}"
- name: Append to pkg_cask
- name: Append blender to pkg_cask
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/broot.yml
- name: Append to pkg_sys and pkg_cargo
- name: Append broot to pkg_sys and pkg_cargo
when:
- ansible_system == 'Linux'
notify:
@@ -18,7 +18,7 @@
pkg_sys: "{{ pkg_sys + broot.deps }}"
pkg_cargo: "{{ pkg_cargo + [broot] }}"
- name: Append to pkg_sys
- name: Append broot to pkg_sys
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- btop_configured is undefined
block:
- name: Append to pkg_ssys
- name: Append btop to pkg_ssys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['btop'] }}"

View File

@@ -4,7 +4,7 @@
when:
- buf_configured is undefined
block:
- name: Add to pkg_go
- name: Append buf to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- bufls_configured is undefined
block:
- name: Add to pkg_go
- name: Append bufls to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -30,7 +30,7 @@
state: present
update_cache: false
- name: Add carapace to pkg_sys
- name: Append carapace to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + carapace.pkgs }}"

View File

@@ -4,7 +4,7 @@
when:
- cheat_configured is undefined
block:
- name: Append to pkg_go
- name: Append cheat to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- checkmake_configured is undefined
block:
- name: Add to pkg_go
- name: Add checkmake to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/choose.yml
- name: Append to cargopkgs
- name: Append choose to pkg_cargo
when:
- ansible_system == 'Linux'
notify:
@@ -17,7 +17,7 @@
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + [choose] }}"
- name: Append to pkg_sys
- name: Append choose-rust to pkg_sys
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- cmake_configured is undefined
block:
- name: Append to pkgs
- name: Append cmake to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['cmake'] }}"

View File

@@ -4,7 +4,7 @@
when:
- cmakelang_configured is undefined
block:
- name: Add to pkg_pipx
- name: Add cmakelang to pkg_pipx
notify:
- Depend pipx
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- commitlint_cli_configured is undefined
block:
- name: Add to pkg_npm
- name: Append commitlint/cli to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- comitlint_config_conventional_configured is undefined
block:
- name: Add to pkg_npm
- name: Append commitlit/config-conventional to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/consul.yml
- name: Append to pkg_sys
- name: Append consul to pkg_sys
when:
- ansible_system == 'Linux'
notify:
@@ -17,7 +17,7 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + consul.pkgs }}"
- name: Append to pkg_tap
- name: Append consul to pkg_tap
when:
- ansible_system == 'Darwin'
notify:

View File

@@ -4,7 +4,7 @@
when:
- cssls_configured is undefined
block:
- name: Add to pkg_npm
- name: Append vscode-langservers-extracted to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- curlie_configured is undefined
block:
- name: Append to pkg_go
- name: Append curlie to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- dbeaver_configured is undefined
block:
- name: Append to pkg_flatpak
- name: Append dbeaver to pkg_flatpak
when:
- ansible_system == 'Linux'
notify:
@@ -13,7 +13,7 @@
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + ['io.dbeaver.DBeaverCommunity'] }}"
- name: Append to pkg_cask
- name: Append dbeaver to pkg_cask
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- direnv_configured is undefined
block:
- name: Append to pkg_sys
- name: Append direnv to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['direnv'] }}"

View File

@@ -4,7 +4,7 @@
when:
- dockerls_configured is undefined
block:
- name: Add to pkg_npm
- name: Append dockerfile-language-server-nodejs to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- dotenv_linter_configured is undefined
block:
- name: Add to pkg_cargo
- name: Append dotenv-linter to pkg_cargo
notify:
- Depend cargo
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- duf_configured is undefined
block:
- name: Append to pkg_go
- name: Append duf to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- dust_configured is undefined
block:
- name: Linux specific install
- name: Append du-dust to pkg_cargo
when:
- ansible_system == 'Linux'
notify:
@@ -13,7 +13,7 @@
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + ['du-dust'] }}"
- name: Append to pkg_sys
- name: Append dust to pkg_sys
when:
- ansible_os_family == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- editorconfig_configured is undefined
block:
- name: Append to pkgs
- name: Append editorconfig to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['editorconfig'] }}"

View File

@@ -4,7 +4,7 @@
when:
- eslint_configured is undefined
block:
- name: Add to pkg_npm
- name: Append vscode-langservers-extracted to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- eza_configured is undefined
block:
- name: Add to pkg_cargo
- name: Append eza to pkg_cargo
notify:
- Depend cargo
changed_when: true

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/fd.yml
- name: Append to pkg_sys
- name: Append fd to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + fd.pkgs }}"

View File

@@ -4,13 +4,13 @@
when:
- firefox_configured is undefined
block:
- name: Append to pkgs
- name: Append firefox to pkg_sys
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['firefox'] }}"
- name: Append to pkg_cask
- name: Append firefox to pkg_cask
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- flatpak_configured is undefined
block:
- name: Append to pkg_sys
- name: Append flatpak to pkg_sys
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- cmake_configured is undefined
block:
- name: Append to pkgs
- name: Append fzf to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['fzf'] }}"

View File

@@ -8,31 +8,34 @@
ansible.builtin.include_tasks:
file: config/ghostty.yml
- name: Source pkg installation
- name: Source ghostty pkg installation
when:
- ghostty.method == 'src'
- ansible_distribution != 'MacOSX'
block:
- name: Build ghostty from source
- name: Append ghostty build deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ghostty.deps }}"
- name: Append ghostty to pkg_src
notify:
- Depend zig
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ghostty.deps }}"
pkg_src: "{{ pkg_src + ['ghostty'] }}"
- name: Appimage installation
- name: Append ghostty to pkg_appimage
when:
- ghostty.method == 'appimage'
- ansible_distribution != 'MacOSX'
ansible.builtin.set_fact:
pkg_appimage: "{{ pkg_appimage + ghostty_vars.appimage }}"
pkg_appimage: "{{ pkg_appimage + ghostty }}"
- name: Sys pkg installation
when:
- ghostty.method == 'sys'
block:
- name: Append to pkgs
- name: Append ghostty to pkg_sys
when:
- ansible_distribution == 'Fedora'
notify:
@@ -41,7 +44,7 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['ghostty'] }}"
- name: Cask pkg installation
- name: Append ghostty to pkg_cask
when:
- ghostty.method == 'brew'
ansible.builtin.set_fact:

View File

@@ -4,14 +4,14 @@
when:
- git_configured is undefined
block:
- name: Set git_configured
ansible.builtin.set_fact:
git_configured: true
- name: Load git config
ansible.builtin.include_tasks:
file: config/git.yml
- name: Append to pkgs
- name: Append git to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + git.pkgs }}"
- name: Set git_configured
ansible.builtin.set_fact:
git_configured: true

View File

@@ -4,7 +4,7 @@
when:
- glow_configured is undefined
block:
- name: Add to pkg_go
- name: Append glow to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -8,13 +8,13 @@
ansible.builtin.include_tasks:
file: config/go.yml
- name: Install from archive
- name: Append go to pkg_archive
when:
- go.method == 'archive'
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['go'] }}"
- name: Append to pkgs
- name: Append to pkg_sys
- go.method != 'archive'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['go'] }}"

View File

@@ -4,7 +4,7 @@
when:
- godot_configured is undefined
block:
- name: Append to pkg_flatpak
- name: Append godot to pkg_flatpak
when:
- ansible_system == 'Linux'
notify:
@@ -13,7 +13,7 @@
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + ['org.godotengine.Godot'] }}"
- name: Append to pkg_cask
- name: Append godot to pkg_cask
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- gopls_configured is undefined
block:
- name: Add to pkg_go
- name: Append gopls to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -4,13 +4,13 @@
when:
- gping_configured is undefined
block:
- name: Append to pkg_sys
- name: Append gping to pkg_sys
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['gping'] }}"
- name: Append to pkg_cargo
- name: Append gping to pkg_cargo
when:
- ansible_system == 'Linux'
notify:

View File

@@ -4,7 +4,7 @@
when:
- heroic_configured is undefined
block:
- name: Append to pkg_flatpak
- name: Append heroic to pkg_flatpak
when:
- ansible_system == 'Linux'
notify:
@@ -13,7 +13,7 @@
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + ['com.heroicgameslauncher.hgl'] }}"
- name: Append to pkg_cask
- name: Append heroic to pkg_cask
when:
- ansible_os_family == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- htmlls_configured is undefined
block:
- name: Add to pkg_npm
- name: Append vscode-langservers-extracted to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- htmx_lsp_configured is undefined
block:
- name: Add to pkg_cargo
- name: Append htmx-lsp to pkg_cargo
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + ['htmx-lsp'] }}"

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/httpie.yml
- name: Append to pkg_flatpak
- name: Append httpie to pkg_flatpak
when:
- ansible_system == 'Linux'
notify:
@@ -17,7 +17,7 @@
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [httpie.pkg] }}"
- name: Append to pkg_cask
- name: Append httpie to pkg_cask
when:
- ansible_os_family == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- hugo_configured is undefined
block:
- name: Append to pkgs
- name: Append hugo to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['hugo'] }}"

View File

@@ -4,7 +4,7 @@
when:
- hyperfine_configured is undefined
block:
- name: Append to pkg_sys
- name: Append hyperfine to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['hyperfine'] }}"

View File

@@ -4,17 +4,18 @@
when:
- hyprcursor_configured is undefined
block:
- name: Set hyprcursor_configured
ansible.builtin.set_fact:
hyprcursor_configured: true
- name: Load hyprcursor config
when:
- hyprcursor is undefined
ansible.builtin.include_tasks:
file: config/hyprcursor.yml
- name: Append to pkg_src
- name: Append hyprcursor build deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprcursor.build_deps }}"
- name: Append hyprcursor to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprcursor'] }}"
- name: Set hyprcursor_configured
ansible.builtin.set_fact:
hyprcursor_configured: true

View File

@@ -4,17 +4,18 @@
when:
- hyprgraphics_configured is undefined
block:
- name: Set hyprgraphics_configured
ansible.builtin.set_fact:
hyprgraphics_configured: true
- name: Load hyprgraphics config
when:
- hyprgraphics is undefined
ansible.builtin.include_tasks:
file: config/hyprgraphics.yml
- name: Append to pkg_src
- name: Append hyprgraphics build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprgraphics.build_deps }}"
- name: Append hyprcursor to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprgraphics'] }}"
- name: Set hyprgraphics_configured
ansible.builtin.set_fact:
hyprgraphics_configured: true

View File

@@ -4,17 +4,11 @@
when:
- hyprland_configured is undefined
block:
- name: Set hyprland_configured
ansible.builtin.set_fact:
hyprland_configured: true
- name: Load hyprland config
when:
- hyprland is undefined
ansible.builtin.include_tasks:
file: config/hyprland.yml
- name: Ensure pkg_deps are added
- name: Append hyprland pkg_deps
loop: "{{ hyprland.pkg_deps }}"
loop_control:
loop_var: hyprland_pkg_dep
@@ -23,7 +17,14 @@
ansible.builtin.include_tasks:
file: "pkgs/{{ hyprland_pkg_dep }}.yml"
- name: Append to pkg_src
- name: Append hyprland build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland.build_deps }}"
- name: Append hyprland to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprland'] }}"
- name: Set hyprland_configured
ansible.builtin.set_fact:
hyprland_configured: true

View File

@@ -4,17 +4,18 @@
when:
- hyprland_protcols_configured is undefined
block:
- name: Set hyprland_protcols_configured
ansible.builtin.set_fact:
hyprland_protcols_configured: true
- name: Load hyprland-protocols config
when:
- hyprland_protocols is undefined
ansible.builtin.include_tasks:
file: config/hyprland_protocols.yml
- name: Append to pkg lists
- name: Append hyprland-protocols build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_protocols.build_deps }}"
- name: Append hyprland-protocols to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprland_protocols'] }}"
- name: Set hyprland_protcols_configured
ansible.builtin.set_fact:
hyprland_protcols_configured: true

View File

@@ -4,17 +4,11 @@
when:
- hyprlang_configured is undefined
block:
- name: Set hyprlang_configured
ansible.builtin.set_fact:
hyprlang_configured: true
- name: Load hyprlang config
when:
- hyprlang is undefined
ansible.builtin.include_tasks:
file: config/hyprlang.yml
- name: Ensure pkg_deps are added
- name: Append hyprland pkg_deps
loop: "{{ hyprlang.pkg_deps }}"
loop_control:
loop_var: hyprlang_pkg_dep
@@ -23,7 +17,14 @@
ansible.builtin.include_tasks:
file: "pkgs/{{ hyprlang_pkg_dep }}.yml"
- name: Append to pkg_src
- name: Append hyprlang build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprlang.build_deps }}"
- name: Append hyprlang to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprlang'] }}"
- name: Set hyprlang_configured
ansible.builtin.set_fact:
hyprlang_configured: true

View File

@@ -4,17 +4,18 @@
when:
- hyprpolkitagent_configured is undefined
block:
- name: Set hyprpolkitagent_configured
ansible.builtin.set_fact:
hyprpolkitagent_configured: true
- name: Load hyprpolkitagent config
when:
- hyprpolkitagent is undefined
ansible.builtin.include_tasks:
file: config/hyprpolkitagent.yml
- name: Append to pkg_src
- name: Append hyprpolkitagent build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprpolkitagent.build_deps }}"
- name: Append hyprpolkitagent to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprpolkitagent'] }}"
- name: Set hyprpolkitagent_configured
ansible.builtin.set_fact:
hyprpolkitagent_configured: true

View File

@@ -4,17 +4,18 @@
when:
- hyprutils_configured is undefined
block:
- name: Set hyprutils_configured
ansible.builtin.set_fact:
hyprutils_configured: true
- name: Load hyprutils config
when:
- hyprutils is undefined
ansible.builtin.include_tasks:
file: config/hyprutils.yml
- name: Append to pkg_src
- name: Append hyprutils build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprutils.build_deps }}"
- name: Append hyprutils to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprutils'] }}"
- name: Set hyprutils_configured
ansible.builtin.set_fact:
hyprutils_configured: true

View File

@@ -4,19 +4,18 @@
when:
- hyprwayland_scanner_configured is undefined
block:
- name: Set hyprwayland_scanner_configured
ansible.builtin.set_fact:
hyprwayland_scanner_configured: true
- name: Load hyprwayland-scanner config
when:
- hyprwayland_scanner is undefined
ansible.builtin.include_tasks:
file: config/hyprwayland_scanner.yml
- name: Append to pkg_sys and pkg_src
when:
- ansible_os_family == 'RedHat'
- name: Append hyprwayland-scanner build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprwayland_scanner.build_deps }}"
- name: Append hyprwayland-scanner to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprwayland_scanner'] }}"
- name: Set hyprwayland_scanner_configured
ansible.builtin.set_fact:
hyprwayland_scanner_configured: true

View File

@@ -4,7 +4,7 @@
when:
- intelephense_configured is undefined
block:
- name: Add to pkg_npm
- name: Append intelephense to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- jinja_lsp_configured is undefined
block:
- name: Add to pkg_cargo
- name: Append jinja-lsp to pkg_cargo
notify:
- Depend cargo
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- jq_configured is undefined
block:
- name: Append to pkgs
- name: Append jq to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['jq'] }}"

View File

@@ -4,7 +4,7 @@
when:
- jsonls_configured is undefined
block:
- name: Add to pkg_npm
- name: Append vscode-langservers-extracted to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/kitty.yml
- name: Add to pkg_sys
- name: Append kitty to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + kitty.pkgs }}"

View File

@@ -1,10 +1,10 @@
# vim: set filetype=yaml.ansible :
# vim: set filetype=yaml :
---
- name: Add lazygit
when:
- lazygit_configured is undefined
block:
- name: Add to pkg_go
- name: Append lazygit to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -8,19 +8,19 @@
ansible.builtin.include_tasks:
file: config/libreoffice.yml
- name: Append to pkg_flatpak
- name: Append libreoffice to pkg_flatpak
when:
- libreoffice.method == 'flatpak'
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [libreoffice.flatpak] }}"
- name: Append to pkg_sys
- name: Append libreoffice to pkg_sys
when:
- libreoffice.method == 'sys'
ansible.builtin.set_fact:
sys_pkg: "{{ sys_pkg + libreoffice.pkgs }}"
- name: Append to caskpkgs
- name: Append libreoffice to caskpkgs
when:
- libreoffice.method == 'cask'
ansible.builtin.set_fact:

View File

@@ -8,13 +8,13 @@
ansible.builtin.include_tasks:
file: config/luals.yml
- name: Append to pkgs
- name: Append luals to pkg_archive
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['luals'] }}"
- name: Append to pkg_sys
- name: Append lua-language-server to pkg_sys
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- markdownlint_cli_configured is undefined
block:
- name: Add to pkg_npm
- name: Append markdownlint-cli to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,13 +4,13 @@
when:
- mcfly_configured is undefined
block:
- name: Append to pkg_sys
- name: Append mcfly to pkg_sys
when:
- ansible_os_family == 'Darwin'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['mcfly'] }}"
- name: Add to pkg_cargo
- name: Append mcfly to pkg_cargo
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:

View File

@@ -1,3 +1,3 @@
- name: Append minio client to pkgs
- name: Append mc to pkg_go
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/minio/mc@latest'] }}"

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/neovide.yml
- name: Append to pkgs
- name: Append neovide to pkg_sys and pkg_cargo
when:
- ansible_system == 'Linux'
notify:

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/neovim.yml
- name: Append to appimages
- name: Append neovim to pkg_appimage
when:
- neovim.method == 'appimage'
ansible.builtin.set_fact:
@@ -20,6 +20,12 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['neovim'] }}"
- name: Append neovim to pkg_src
when:
- neovim.method == 'src'
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['neovim'] }}"
- name: Set neovim_configured
ansible.builtin.set_fact:
neovim_configured: true

View File

@@ -8,13 +8,13 @@
ansible.builtin.include_tasks:
file: config/nerdfonts.yml
- name: Append to srcpkgs
- name: Append nerdfonts to pkg_archive
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['nerdfonts'] }}"
- name: Append to caskpkgs
- name: Append nerdfonts to pkg_cask
when:
- ansible_system == 'Darwin'
loop: "{{ nerdfonts.fonts }}"

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/nextcloud.yml
- name: Append to pkg_Flatpak
- name: Append nextcloud-client to pkg_Flatpak
when:
- ansible_system == 'Linux'
- nextcloud.method == 'flatpak'
@@ -18,14 +18,14 @@
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [nextcloud] }}"
- name: Append to pkg_sys
- name: Append nextcloud-client to pkg_sys
when:
- ansible_system == 'Linux'
- nextcloud.method == 'sys'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['nextcloud'] }}"
- name: Append to pkg_cask
- name: Append nextcloud-client to pkg_cask
when:
- ansible_os_family == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- nginxls_configured is undefined
block:
- name: Add to pkg_pipx
- name: Append nginx-language-server to pkg_pipx
notify:
- Depend node
changed_when: true

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/nodejs.yml
- name: Append to pkgs
- name: Append nodejs to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + nodejs.pkgs }}"

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/nomad.yml
- name: Append to pkg_tap
- name: Append nomad to pkg_tap
when:
- ansible_distribution == 'MacOSX'
notify:
@@ -17,7 +17,7 @@
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + nomad.pkgs }}"
- name: Append to pkg_sys
- name: Append nomad to pkg_sys
when:
- ansible_system == 'Linux'
notify:

View File

@@ -8,13 +8,13 @@
ansible.builtin.include_tasks:
file: config/packer.yml
- name: Append to pkg_tap
- name: Append packer to pkg_tap
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + packer.pkgs }}"
- name: Append to pkg_sys
- name: Append packer to pkg_sys
when:
- ansible_system == 'Linux'
notify:

View File

@@ -4,7 +4,7 @@
when:
- pandoc_configured is undefined
block:
- name: Append to pkgs
- name: Append pandoc to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['pandoc'] }}"

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/pgadmin.yml
- name: Append to pkg_flatpak
- name: Append pgadmin to pkg_flatpak
when:
- pgadmin.method == 'flatpak'
notify:
@@ -17,7 +17,7 @@
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [pgadmin.flatpak] }}"
- name: Append to pkg_cask
- name: Append pgadmin to pkg_cask
when:
- pgadmin.method == 'cask'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- pipx_configured is undefined
block:
- name: Append to pkgs
- name: Append pipx to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['pipx'] }}"

View File

@@ -4,7 +4,7 @@
when:
- podman_configured is undefined
block:
- name: Append to pkg_sys
- name: Append podman to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['podman'] }}"

View File

@@ -4,10 +4,6 @@
when:
- pulumi_configured is undefined
block:
- name: Set pulumi_configured
ansible.builtin.set_fact:
pulumi_configured: true
- name: Load pulumi config
ansible.builtin.include_tasks:
file: config/pulumi.yml
@@ -23,3 +19,7 @@
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['pulumi'] }}"
- name: Set pulumi_configured
ansible.builtin.set_fact:
pulumi_configured: true

View File

@@ -4,7 +4,7 @@
when:
- pyright_configured is undefined
block:
- name: Add to pkg_pipx
- name: Append pyright to pkg_pipx
notify:
- Depend pipx
changed_when: true

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/python3.yml
- name: Append to pkgs
- name: Append python3 to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + python3.pkgs }}"

View File

@@ -4,7 +4,7 @@
when:
- quobix_vacuum_configured is undefined
block:
- name: Add to pkg_npm
- name: Append quobix/vacuum to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- revive_configured is undefined
block:
- name: Add to pkg_go
- name: Append revive to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- ripgrep_configured is undefined
block:
- name: Append to pkg_sys
- name: Append ripgrep to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['ripgrep'] }}"

View File

@@ -8,7 +8,7 @@
ansible.builtin.include_tasks:
file: config/rust.yml
- name: Append to pkgs
- name: Append rust to pkgs
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + rust.pkgs }}"

View File

@@ -4,13 +4,13 @@
when:
- sd_configured is undefined
block:
- name: Append to pkg_sys
- name: Append sd to pkg_sys
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['sd'] }}"
- name: Add to pkg_cargo
- name: Append sd to pkg_cargo
when:
- ansible_system == 'Linux'
notify:

View File

@@ -5,14 +5,15 @@
- sdbus_cpp_2_configured is undefined
block:
- name: Load sdbus-cpp-2 config
when:
- sdbus_cpp_2 is undefined
ansible.builtin.include_tasks:
file: config/sdbus_cpp_2.yml
- name: Append to pkg list
- name: Append sdbus-cpp-2 build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + sdbus_cpp_2.build_deps }}"
- name: Append sdbus-cpp-2 to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['sdbus_cpp_2'] }}"
- name: Set sdbus_cpp_2_configured

View File

@@ -4,7 +4,7 @@
when:
- sqlfluff_configured is undefined
block:
- name: Add to pkg_pipx
- name: Append sqlfluff to pkg_pipx
notify:
- Depend pipx
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- sqlls_configured is undefined
block:
- name: Add to pkg_npm
- name: Append sql-language-server to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- starship_configured is undefined
block:
- name: Add to pkg_cargo
- name: Append starship to pkg_cargo
notify:
- Depend cargo
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- stow_configured is undefined
block:
- name: Append to pkg_sys
- name: Append stow to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['stow'] }}"

View File

@@ -8,15 +8,15 @@
ansible.builtin.include_tasks:
file: config/tailscale.yml
- name: Enable for linux
- name: Append tailscale for linux
when:
- ansible_system == 'Linux'
block:
- name: Enable for RedHat distros
- name: Append tailscale for RedHat distros
when:
- ansible_os_family == 'RedHat'
block:
- name: Fedora >=41
- name: Add tailscale repo for Fedora >=41
ansible.builtin.command:
creates: /etc/yum.repos.d/tailscale.repo
cmd: "dnf config-manager addrepo --from-repofile={{ tailscale.url_base }}/fedora/tailscale.repo"
@@ -25,7 +25,7 @@
- ansible_distribution == 'Fedora'
- ansible_distribution_major_version|int >= 41
- name: Fedora <41
- name: Add tailscale repo for Fedora <41
ansible.builtin.command:
creates: /etc/yum.repos.d/tailscale.repo
cmd: "dnf config-manager --add-repo {{ tailscale.url_base }}/fedora/tailscale.repo"
@@ -34,7 +34,7 @@
- ansible_distribution == 'Fedora'
- ansible_distribution_major_version|int < 41
- name: Rhel based distros
- name: Add tailscale for Rhel based distros
ansible.builtin.command:
creates: /etc/yum.repos.d/tailscale.repo
cmd: "dnf config-manager --add-repo {{ tailscale.url_base }}/rhel/{{ ansible_os_major_version }}/tailscale.repo"
@@ -42,7 +42,7 @@
when:
- ansible_distribution != 'Fedora'
- name: Enable for Debian distros
- name: Append tailscale for Debian distros
when:
- ansible_os_family == 'Debian'
block:
@@ -62,11 +62,11 @@
dest: /etc/apt/sources.list.d/tailscale.list
mode: '0644'
- name: Append to pkg_sys
- name: Append tailscale to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['tailscale'] }}"
- name: Append to pkg_cask
- name: Append tailscale to pkg_cask
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:

View File

@@ -4,7 +4,7 @@
when:
- tailwindcss_languageserver_configured is undefined
block:
- name: Add to pkg_npm
- name: Add tailwindcss/language-server to pkg_npm
notify:
- Depend node
changed_when: true

View File

@@ -4,7 +4,7 @@
when:
- templ_configured is undefined
block:
- name: Add to pkg_go
- name: Append templ to pkg_go
notify:
- Depend go
changed_when: true

View File

@@ -8,9 +8,9 @@
ansible.builtin.include_tasks:
file: config/terraform.yml
- name: Append to pkgs
- name: Append terraform
block:
- name: MacOSX specific
- name: Append terraform to pkg_tap
when:
- ansible_distribution == 'MacOSX'
notify:
@@ -19,7 +19,7 @@
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + terraform.pkgs }}"
- name: Linux specific
- name: Append terraform to pkg_sys
when:
- ansible_system == 'Linux'
notify:

View File

@@ -8,9 +8,9 @@
ansible.builtin.include_tasks:
file: config/terraformls.yml
- name: Append to pkgs
- name: Append terraformls
block:
- name: MacOS specific
- name: Append terraformls to pkg_tap
when:
- ansible_system == 'Darwin'
notify:
@@ -19,7 +19,7 @@
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + terraformls.pkgs }}"
- name: Linux specific
- name: Append terraformls to pkg_sys
when:
- ansible_system == 'Linux'
notify:

Some files were not shown because too many files have changed in this diff Show More