removed bool check

Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
This commit is contained in:
Matthew Stobbs
2025-05-12 14:24:27 -06:00
parent d0fbd457bb
commit ceabce67e4
84 changed files with 588 additions and 1107 deletions

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add cbfmt - name: Load cbfmt configuration
when:
- cbfmt_configured is undefined
block:
- name: Load cbfmt configuration
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/cbfmt.yml file: config/cbfmt.yml
- name: Append cbfmt to pkg_sys - name: Append cbfmt to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + cbfmt.pkgs }}" pkg_sys: "{{ pkg_sys + cbfmt.pkgs }}"
- name: Set cbfmt_configured
ansible.builtin.set_fact:
cbfmt_configured: true

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add cmake-format - name: Load cmake-format configuration
when:
- cmake_format_configured is undefined
block:
- name: Load cmake-format configuration
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/cmake-format.yml file: config/cmake-format.yml
- name: Append cmake-format to pkg_sys - name: Append cmake-format to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + cmake_format.pkgs }}" pkg_sys: "{{ pkg_sys + cmake_format.pkgs }}"
- name: Set cmake-format_configured
ansible.builtin.set_fact:
cmake_format_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Append alacritty - name: Append alacritty
when:
- alacritty_configured is undefined
block: block:
- name: Load alacritty configuration - name: Load alacritty configuration
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add ansible_lint - name: Append ansible-lint to pkg_sys
when:
- ansible_lint_configured is undefined
block:
- name: Append ansible-lint to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['ansible-lint'] }}" pkg_sys: "{{ pkg_sys + ['ansible-lint'] }}"
- name: Set ansible_lint_configured
ansible.builtin.set_fact:
ansible_lint_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add bat - name: Append bat to pkg_sys
when:
- bat_configured is undefined
block:
- name: Append bat to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['bat'] }}" pkg_sys: "{{ pkg_sys + ['bat'] }}"
- name: Set bat_configured
ansible.builtin.set_fact:
bat_configured: true

View File

@@ -1,21 +1,13 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add blender - name: Append blender to pkg_sys
when:
- blender_configured is undefined
block:
- name: Append blender to pkg_sys
when: when:
- ansible_system == 'Linux' - ansible_system == 'Linux'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['blender'] }}" pkg_sys: "{{ pkg_sys + ['blender'] }}"
- name: Append blender to pkg_cask - name: Append blender to pkg_cask
when: when:
- ansible_system == 'Darwin' - ansible_system == 'Darwin'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['blender'] }}" pkg_cask: "{{ pkg_cask + ['blender'] }}"
- name: Set bitwarden_configured
ansible.builtin.set_fact:
bitwarden_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add broot - name: Add broot
when:
- broot_configured is undefined
block: block:
- name: Load broot config - name: Load broot config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add btop - name: Append btop to pkg_ssys
when:
- btop_configured is undefined
block:
- name: Append btop to pkg_ssys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['btop'] }}" pkg_sys: "{{ pkg_sys + ['btop'] }}"
- name: Set broot_configured
ansible.builtin.set_fact:
broot_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add carapace - name: Load carapace config
when:
- carapace_configured is undefined
block:
- name: Load carapace config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/carapace.yml file: config/carapace.yml
- name: Enable carapace yum repository - name: Enable carapace yum repository
when: when:
- ansible_os_family == 'RedHat' - ansible_os_family == 'RedHat'
become: true become: true
@@ -20,7 +16,7 @@
gpgcheck: false gpgcheck: false
state: present state: present
- name: Enable carapace apt repository - name: Enable carapace apt repository
when: when:
- ansible_os_family == 'Debian' - ansible_os_family == 'Debian'
become: true become: true
@@ -30,10 +26,6 @@
state: present state: present
update_cache: false update_cache: false
- name: Append carapace to pkg_sys - name: Append carapace to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + carapace.pkgs }}" pkg_sys: "{{ pkg_sys + carapace.pkgs }}"
- name: Set carapace_configured
ansible.builtin.set_fact:
carapace_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add choose - name: Add choose
when:
- choose_configured is undefined
block: block:
- name: Load choose config - name: Load choose config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add clangd - name: Load clangd config
when:
- clangd_configured is undefined
block:
- name: Load clangd config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/clangd.yml file: config/clangd.yml
- name: Append clangd to pkg_sys - name: Append clangd to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + clangd.pkgs }}" pkg_sys: "{{ pkg_sys + clangd.pkgs }}"
- name: Set clangd_configured
ansible.builtin.set_fact:
clangd_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add cmake - name: Append cmake to pkg_sys
when:
- cmake_configured is undefined
block:
- name: Append cmake to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['cmake'] }}" pkg_sys: "{{ pkg_sys + ['cmake'] }}"
- name: Set cmake_configured
ansible.builtin.set_fact:
cmake_configured: true

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add cockpit - name: Load cockpit configuration
when:
- cockpit_configured is undefined
block:
- name: Load cockpit configuration
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/cockpit.yml file: config/cockpit.yml
- name: Append cockpit to pkg_sys - name: Append cockpit to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + cockpit.pkgs }}" pkg_sys: "{{ pkg_sys + cockpit.pkgs }}"
- name: Set cockpit_configured
ansible.builtin.set_fact:
cockpit_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add consul - name: Add consul
when:
- consul_configured is undefined
block: block:
- name: Load consul config - name: Load consul config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add direnv - name: Append direnv to pkg_sys
when:
- direnv_configured is undefined
block:
- name: Append direnv to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['direnv'] }}" pkg_sys: "{{ pkg_sys + ['direnv'] }}"
- name: Set direnv_configured
ansible.builtin.set_fact:
direnv_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add dust - name: Add dust
when:
- dust_configured is undefined
block: block:
- name: Append du-dust to pkg_cargo - name: Append du-dust to pkg_cargo
when: when:

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add editorconfig - name: Append editorconfig to pkg_sys
when:
- editorconfig_configured is undefined
block:
- name: Append editorconfig to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['editorconfig'] }}" pkg_sys: "{{ pkg_sys + ['editorconfig'] }}"
- name: Set editorconfig_configured
ansible.builtin.set_fact:
editorconfig_configured: true

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add fd - name: Load fd config
when:
- fd_configured is undefined
block:
- name: Load fd config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/fd.yml file: config/fd.yml
- name: Append fd to pkg_sys - name: Append fd to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + fd.pkgs }}" pkg_sys: "{{ pkg_sys + fd.pkgs }}"
- name: Set fd_configured
ansible.builtin.set_fact:
fd_configured: true

View File

@@ -1,21 +1,13 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add firefox - name: Append firefox to pkg_sys
when:
- firefox_configured is undefined
block:
- name: Append firefox to pkg_sys
when: when:
- ansible_system == 'Linux' - ansible_system == 'Linux'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['firefox'] }}" pkg_sys: "{{ pkg_sys + ['firefox'] }}"
- name: Append firefox to pkg_cask - name: Append firefox to pkg_cask
when: when:
- ansible_system == 'Darwin' - ansible_system == 'Darwin'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['firefox'] }}" pkg_cask: "{{ pkg_cask + ['firefox'] }}"
- name: Set firefox_configured
ansible.builtin.set_fact:
firefox_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add firewalld - name: Append firewalld to pkg_sys
when:
- firewalld_configured is undefined
block:
- name: Append firewalld to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['firewalld'] }}" pkg_sys: "{{ pkg_sys + ['firewalld'] }}"
- name: Set firewalld_configured
ansible.builtin.set_fact:
firewalld_configured: true

View File

@@ -1,15 +1,7 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add flatpak - name: Append flatpak to pkg_sys
when:
- flatpak_configured is undefined
block:
- name: Append flatpak to pkg_sys
when: when:
- ansible_system == 'Linux' - ansible_system == 'Linux'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['flatpak'] }}" pkg_sys: "{{ pkg_sys + ['flatpak'] }}"
- name: Set flatpak_configured
ansible.builtin.set_fact:
flatpak_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add cmake - name: Append fzf to pkg_sys
when:
- cmake_configured is undefined
block:
- name: Append fzf to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['fzf'] }}" pkg_sys: "{{ pkg_sys + ['fzf'] }}"
- name: Set cmake_configured
ansible.builtin.set_fact:
cmake_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add ghostty - name: Add ghostty
when:
- ghostty_configured is undefined
block: block:
- name: Load ghostty config - name: Load ghostty config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add git - name: Load git config
when:
- git_configured is undefined
block:
- name: Load git config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/git.yml file: config/git.yml
- name: Append git to pkg_sys - name: Append git to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + git.pkgs }}" pkg_sys: "{{ pkg_sys + git.pkgs }}"
- name: Set git_configured
ansible.builtin.set_fact:
git_configured: true

View File

@@ -1,24 +1,16 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add go - name: Load go config
when:
- go_configured is undefined
block:
- name: Load go config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/go.yml file: config/go.yml
- name: Append go to pkg_archive - name: Append go to pkg_archive
when: when:
- go.method == 'archive' - go.method == 'archive'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['go'] }}" pkg_archive: "{{ pkg_archive + ['go'] }}"
- name: Append to pkg_sys - name: Append to pkg_sys
- go.method != 'archive' - go.method != 'archive'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['go'] }}" pkg_sys: "{{ pkg_sys + ['go'] }}"
- name: Set go_configured
ansible.builtin.set_fact:
go_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add gping - name: Add gping
when:
- gping_configured is undefined
block: block:
- name: Append gping to pkg_sys - name: Append gping to pkg_sys
when: when:

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add greetd - name: Load greetd config
when:
- greetd_configured is undefined
block:
- name: Load greetd config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/greetd.yml file: config/greetd.yml
- name: Append greetd to pkg_sys - name: Append greetd to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + greetd.pkgs }}" pkg_sys: "{{ pkg_sys + greetd.pkgs }}"
- name: Set greetd_configured
ansible.builtin.set_fact:
greetd_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hugo - name: Append hugo to pkg_sys
when:
- hugo_configured is undefined
block:
- name: Append hugo to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['hugo'] }}" pkg_sys: "{{ pkg_sys + ['hugo'] }}"
- name: Set hugo_configured
ansible.builtin.set_fact:
hugo_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyperfine - name: Append hyperfine to pkg_sys
when:
- hyperfine_configured is undefined
block:
- name: Append hyperfine to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['hyperfine'] }}" pkg_sys: "{{ pkg_sys + ['hyperfine'] }}"
- name: Set hyperfine_configured
ansible.builtin.set_fact:
hyperfine_configured: true

View File

@@ -1,21 +1,13 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprcursor - name: Load hyprcursor config
when:
- hyprcursor_configured is undefined
block:
- name: Load hyprcursor config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprcursor.yml file: config/hyprcursor.yml
- name: Append hyprcursor build deps to pkg_sys - name: Append hyprcursor build deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprcursor.build_deps }}" pkg_sys: "{{ pkg_sys + hyprcursor.build_deps }}"
- name: Append hyprcursor to pkg_src - name: Append hyprcursor to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprcursor'] }}" pkg_src: "{{ pkg_src + ['hyprcursor'] }}"
- name: Set hyprcursor_configured
ansible.builtin.set_fact:
hyprcursor_configured: true

View File

@@ -1,21 +1,13 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprgraphics - name: Load hyprgraphics config
when:
- hyprgraphics_configured is undefined
block:
- name: Load hyprgraphics config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprgraphics.yml file: config/hyprgraphics.yml
- name: Append hyprgraphics build_deps to pkg_sys - name: Append hyprgraphics build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprgraphics.build_deps }}" pkg_sys: "{{ pkg_sys + hyprgraphics.build_deps }}"
- name: Append hyprcursor to pkg_src - name: Append hyprcursor to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprgraphics'] }}" pkg_src: "{{ pkg_src + ['hyprgraphics'] }}"
- name: Set hyprgraphics_configured
ansible.builtin.set_fact:
hyprgraphics_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hypridle - name: Load hypridle config
when:
- hypridle_configured is undefined
block:
- name: Load hypridle config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hypridle.yml file: config/hypridle.yml
- name: Append hypridle pkg_deps - name: Append hypridle pkg_deps
loop: "{{ hypridle.pkg_deps }}" loop: "{{ hypridle.pkg_deps }}"
loop_control: loop_control:
loop_var: hypridle_pkg_dep loop_var: hypridle_pkg_dep
@@ -17,14 +13,10 @@
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: "pkgs/{{ hypridle_pkg_dep }}.yml" file: "pkgs/{{ hypridle_pkg_dep }}.yml"
- name: Append hypridle build_deps to pkg_sys - name: Append hypridle build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hypridle.build_deps }}" pkg_sys: "{{ pkg_sys + hypridle.build_deps }}"
- name: Append hypridle to pkg_src - name: Append hypridle to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hypridle'] }}" pkg_src: "{{ pkg_src + ['hypridle'] }}"
- name: Set hypridle_configured
ansible.builtin.set_fact:
hypridle_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprland - name: Load hyprland config
when:
- hyprland_configured is undefined
block:
- name: Load hyprland config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprland.yml file: config/hyprland.yml
- name: Append hyprland pkg_deps - name: Append hyprland pkg_deps
loop: "{{ hyprland.pkg_deps }}" loop: "{{ hyprland.pkg_deps }}"
loop_control: loop_control:
loop_var: hyprland_pkg_dep loop_var: hyprland_pkg_dep
@@ -17,14 +13,10 @@
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: "pkgs/{{ hyprland_pkg_dep }}.yml" file: "pkgs/{{ hyprland_pkg_dep }}.yml"
- name: Append hyprland build_deps to pkg_sys - name: Append hyprland build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland.build_deps }}" pkg_sys: "{{ pkg_sys + hyprland.build_deps }}"
- name: Append hyprland to pkg_src - name: Append hyprland to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprland'] }}" pkg_src: "{{ pkg_src + ['hyprland'] }}"
- name: Set hyprland_configured
ansible.builtin.set_fact:
hyprland_configured: true

View File

@@ -1,21 +1,13 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprland-protocols - name: Load hyprland-protocols config
when:
- hyprland_protcols_configured is undefined
block:
- name: Load hyprland-protocols config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprland_protocols.yml file: config/hyprland_protocols.yml
- name: Append hyprland-protocols build_deps to pkg_sys - name: Append hyprland-protocols build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_protocols.build_deps }}" pkg_sys: "{{ pkg_sys + hyprland_protocols.build_deps }}"
- name: Append hyprland-protocols to pkg_src - name: Append hyprland-protocols to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprland_protocols'] }}" pkg_src: "{{ pkg_src + ['hyprland_protocols'] }}"
- name: Set hyprland_protcols_configured
ansible.builtin.set_fact:
hyprland_protcols_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprland_qt_support - name: Load hyprland_qt_support config
when:
- hyprland_qt_support_configured is undefined
block:
- name: Load hyprland_qt_support config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprland_qt_support.yml file: config/hyprland_qt_support.yml
- name: Append hyprland_qt_support pkg_deps - name: Append hyprland_qt_support pkg_deps
loop: "{{ hyprland_qt_support.pkg_deps }}" loop: "{{ hyprland_qt_support.pkg_deps }}"
loop_control: loop_control:
loop_var: hyprland_qt_support_pkg_dep loop_var: hyprland_qt_support_pkg_dep
@@ -17,14 +13,10 @@
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: "pkgs/{{ hyprland_qt_support_pkg_dep }}.yml" file: "pkgs/{{ hyprland_qt_support_pkg_dep }}.yml"
- name: Append hyprland_qt_support build_deps to pkg_sys - name: Append hyprland_qt_support build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_qt_support.build_deps }}" pkg_sys: "{{ pkg_sys + hyprland_qt_support.build_deps }}"
- name: Append hyprland_qt_support to pkg_src - name: Append hyprland_qt_support to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprland_qt_support'] }}" pkg_src: "{{ pkg_src + ['hyprland_qt_support'] }}"
- name: Set hyprland_qt_support_configured
ansible.builtin.set_fact:
hyprland_qt_support_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprland_qtutils - name: Load hyprland_qtutils config
when:
- hyprland_qtutils_configured is undefined
block:
- name: Load hyprland_qtutils config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprland_qtutils.yml file: config/hyprland_qtutils.yml
- name: Append hyprland_qtutils pkg_deps - name: Append hyprland_qtutils pkg_deps
loop: "{{ hyprland_qtutils.pkg_deps }}" loop: "{{ hyprland_qtutils.pkg_deps }}"
loop_control: loop_control:
loop_var: hyprland_qtutils_pkg_dep loop_var: hyprland_qtutils_pkg_dep
@@ -17,14 +13,10 @@
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: "pkgs/{{ hyprland_qtutils_pkg_dep }}.yml" file: "pkgs/{{ hyprland_qtutils_pkg_dep }}.yml"
- name: Append hyprland_qtutils build_deps to pkg_sys - name: Append hyprland_qtutils build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_qtutils.build_deps }}" pkg_sys: "{{ pkg_sys + hyprland_qtutils.build_deps }}"
- name: Append hyprland_qtutils to pkg_src - name: Append hyprland_qtutils to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprland_qtutils'] }}" pkg_src: "{{ pkg_src + ['hyprland_qtutils'] }}"
- name: Set hyprland_qtutils_configured
ansible.builtin.set_fact:
hyprland_qtutils_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprlang - name: Load hyprlang config
when:
- hyprlang_configured is undefined
block:
- name: Load hyprlang config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprlang.yml file: config/hyprlang.yml
- name: Append hyprland pkg_deps - name: Append hyprland pkg_deps
loop: "{{ hyprlang.pkg_deps }}" loop: "{{ hyprlang.pkg_deps }}"
loop_control: loop_control:
loop_var: hyprlang_pkg_dep loop_var: hyprlang_pkg_dep
@@ -17,14 +13,10 @@
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: "pkgs/{{ hyprlang_pkg_dep }}.yml" file: "pkgs/{{ hyprlang_pkg_dep }}.yml"
- name: Append hyprlang build_deps to pkg_sys - name: Append hyprlang build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprlang.build_deps }}" pkg_sys: "{{ pkg_sys + hyprlang.build_deps }}"
- name: Append hyprlang to pkg_src - name: Append hyprlang to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprlang'] }}" pkg_src: "{{ pkg_src + ['hyprlang'] }}"
- name: Set hyprlang_configured
ansible.builtin.set_fact:
hyprlang_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprlock - name: Load hyprlock config
when:
- hyprlock_configured is undefined
block:
- name: Load hyprlock config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprlock.yml file: config/hyprlock.yml
- name: Append hyprlock pkg_deps - name: Append hyprlock pkg_deps
loop: "{{ hyprlock.pkg_deps }}" loop: "{{ hyprlock.pkg_deps }}"
loop_control: loop_control:
loop_var: hyprlock_pkg_dep loop_var: hyprlock_pkg_dep
@@ -17,14 +13,10 @@
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: "pkgs/{{ hyprlock_pkg_dep }}.yml" file: "pkgs/{{ hyprlock_pkg_dep }}.yml"
- name: Append hyprlock build_deps to pkg_sys - name: Append hyprlock build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprlock.build_deps }}" pkg_sys: "{{ pkg_sys + hyprlock.build_deps }}"
- name: Append hyprlock to pkg_src - name: Append hyprlock to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprlock'] }}" pkg_src: "{{ pkg_src + ['hyprlock'] }}"
- name: Set hyprlock_configured
ansible.builtin.set_fact:
hyprlock_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprpaper - name: Load hyprpaper config
when:
- hyprpaper_configured is undefined
block:
- name: Load hyprpaper config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprpaper.yml file: config/hyprpaper.yml
- name: Append hyprpaper pkg_deps - name: Append hyprpaper pkg_deps
loop: "{{ hyprpaper.pkg_deps }}" loop: "{{ hyprpaper.pkg_deps }}"
loop_control: loop_control:
loop_var: hyprpaper_pkg_dep loop_var: hyprpaper_pkg_dep
@@ -17,14 +13,10 @@
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: "pkgs/{{ hyprpaper_pkg_dep }}.yml" file: "pkgs/{{ hyprpaper_pkg_dep }}.yml"
- name: Append hyprpaper build_deps to pkg_sys - name: Append hyprpaper build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprpaper.build_deps }}" pkg_sys: "{{ pkg_sys + hyprpaper.build_deps }}"
- name: Append hyprpaper to pkg_src - name: Append hyprpaper to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprpaper'] }}" pkg_src: "{{ pkg_src + ['hyprpaper'] }}"
- name: Set hyprpaper_configured
ansible.builtin.set_fact:
hyprpaper_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprpicker - name: Load hyprpicker config
when:
- hyprpicker_configured is undefined
block:
- name: Load hyprpicker config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprpicker.yml file: config/hyprpicker.yml
- name: Append hyprpicker pkg_deps - name: Append hyprpicker pkg_deps
loop: "{{ hyprpicker.pkg_deps }}" loop: "{{ hyprpicker.pkg_deps }}"
loop_control: loop_control:
loop_var: hyprpicker_pkg_dep loop_var: hyprpicker_pkg_dep
@@ -17,14 +13,10 @@
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: "pkgs/{{ hyprpicker_pkg_dep }}.yml" file: "pkgs/{{ hyprpicker_pkg_dep }}.yml"
- name: Append hyprpicker build_deps to pkg_sys - name: Append hyprpicker build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprpicker.build_deps }}" pkg_sys: "{{ pkg_sys + hyprpicker.build_deps }}"
- name: Append hyprpicker to pkg_src - name: Append hyprpicker to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprpicker'] }}" pkg_src: "{{ pkg_src + ['hyprpicker'] }}"
- name: Set hyprpicker_configured
ansible.builtin.set_fact:
hyprpicker_configured: true

View File

@@ -1,21 +1,13 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprpolkitagent - name: Load hyprpolkitagent config
when:
- hyprpolkitagent_configured is undefined
block:
- name: Load hyprpolkitagent config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprpolkitagent.yml file: config/hyprpolkitagent.yml
- name: Append hyprpolkitagent build_deps to pkg_sys - name: Append hyprpolkitagent build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprpolkitagent.build_deps }}" pkg_sys: "{{ pkg_sys + hyprpolkitagent.build_deps }}"
- name: Append hyprpolkitagent to pkg_src - name: Append hyprpolkitagent to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprpolkitagent'] }}" pkg_src: "{{ pkg_src + ['hyprpolkitagent'] }}"
- name: Set hyprpolkitagent_configured
ansible.builtin.set_fact:
hyprpolkitagent_configured: true

View File

@@ -1,21 +1,13 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprutils - name: Load hyprutils config
when:
- hyprutils_configured is undefined
block:
- name: Load hyprutils config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprutils.yml file: config/hyprutils.yml
- name: Append hyprutils build_deps to pkg_sys - name: Append hyprutils build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprutils.build_deps }}" pkg_sys: "{{ pkg_sys + hyprutils.build_deps }}"
- name: Append hyprutils to pkg_src - name: Append hyprutils to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprutils'] }}" pkg_src: "{{ pkg_src + ['hyprutils'] }}"
- name: Set hyprutils_configured
ansible.builtin.set_fact:
hyprutils_configured: true

View File

@@ -1,21 +1,13 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hyprwayland-scanner - name: Load hyprwayland-scanner config
when:
- hyprwayland_scanner_configured is undefined
block:
- name: Load hyprwayland-scanner config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hyprwayland_scanner.yml file: config/hyprwayland_scanner.yml
- name: Append hyprwayland-scanner build_deps to pkg_sys - name: Append hyprwayland-scanner build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprwayland_scanner.build_deps }}" pkg_sys: "{{ pkg_sys + hyprwayland_scanner.build_deps }}"
- name: Append hyprwayland-scanner to pkg_src - name: Append hyprwayland-scanner to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprwayland_scanner'] }}" pkg_src: "{{ pkg_src + ['hyprwayland_scanner'] }}"
- name: Set hyprwayland_scanner_configured
ansible.builtin.set_fact:
hyprwayland_scanner_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add jq - name: Append jq to pkg_sys
when:
- jq_configured is undefined
block:
- name: Append jq to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['jq'] }}" pkg_sys: "{{ pkg_sys + ['jq'] }}"
- name: Set jq_configured
ansible.builtin.set_fact:
jq_configured: true

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add kitty - name: Load kitty config
when:
- kitty_configured is undefined
block:
- name: Load kitty config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/kitty.yml file: config/kitty.yml
- name: Append kitty to pkg_sys - name: Append kitty to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + kitty.pkgs }}" pkg_sys: "{{ pkg_sys + kitty.pkgs }}"
- name: Set kitty_configured
ansible.builtin.set_fact:
kitty_configured: true

View File

@@ -1,31 +1,23 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add libreoffice - name: Load libreoffice config
when:
- libreoffice_configured is undefined
block:
- name: Load libreoffice config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/libreoffice.yml file: config/libreoffice.yml
- name: Append libreoffice to pkg_flatpak - name: Append libreoffice to pkg_flatpak
when: when:
- libreoffice.method == 'flatpak' - libreoffice.method == 'flatpak'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [libreoffice.flatpak] }}" pkg_flatpak: "{{ pkg_flatpak + [libreoffice.flatpak] }}"
- name: Append libreoffice to pkg_sys - name: Append libreoffice to pkg_sys
when: when:
- libreoffice.method == 'sys' - libreoffice.method == 'sys'
ansible.builtin.set_fact: ansible.builtin.set_fact:
sys_pkg: "{{ sys_pkg + libreoffice.pkgs }}" sys_pkg: "{{ sys_pkg + libreoffice.pkgs }}"
- name: Append libreoffice to caskpkgs - name: Append libreoffice to caskpkgs
when: when:
- libreoffice.method == 'cask' - libreoffice.method == 'cask'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + libreoffice.pkgs }}" pkg_cask: "{{ pkg_cask + libreoffice.pkgs }}"
- name: Set libreoffice_configured
ansible.builtin.set_fact:
libreoffice_configured: true

View File

@@ -1,25 +1,17 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add luals - name: Load luals config
when:
- luals_configured is undefined
block:
- name: Load luals config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/luals.yml file: config/luals.yml
- name: Append luals to pkg_archive - name: Append luals to pkg_archive
when: when:
- ansible_system == 'Linux' - ansible_system == 'Linux'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['luals'] }}" pkg_archive: "{{ pkg_archive + ['luals'] }}"
- name: Append lua-language-server to pkg_sys - name: Append lua-language-server to pkg_sys
when: when:
- ansible_system == 'Darwin' - ansible_system == 'Darwin'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['lua-language-server'] }}" pkg_sys: "{{ pkg_sys + ['lua-language-server'] }}"
- name: Set luals_configured
ansible.builtin.set_fact:
luals_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add mcfly - name: Add mcfly
when:
- mcfly_configured is undefined
block: block:
- name: Append mcfly to pkg_sys - name: Append mcfly to pkg_sys
when: when:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add neovide - name: Add neovide
when:
- neovide_configured is undefined
block: block:
- name: Load neovide config - name: Load neovide config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,32 +1,24 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add neovim - name: Load neovim config
when:
- neovim_configured is undefined
block:
- name: Load neovim config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/neovim.yml file: config/neovim.yml
- name: Append neovim to pkg_appimage - name: Append neovim to pkg_appimage
when: when:
- neovim.method == 'appimage' - neovim.method == 'appimage'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_appimage: "{{ pkg_appimage + ['neovim'] }}" pkg_appimage: "{{ pkg_appimage + ['neovim'] }}"
- name: Append neovim to pkg_sys - name: Append neovim to pkg_sys
when: when:
- neovim.method == 'sys' - neovim.method == 'sys'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['neovim'] }}" pkg_sys: "{{ pkg_sys + ['neovim'] }}"
- name: Append neovim to pkg_src - name: Append neovim to pkg_src
when: when:
- neovim.method == 'src' - neovim.method == 'src'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + neovim.build_deps }}" pkg_sys: "{{ pkg_sys + neovim.build_deps }}"
pkg_src: "{{ pkg_src + ['neovim'] }}" pkg_src: "{{ pkg_src + ['neovim'] }}"
- name: Set neovim_configured
ansible.builtin.set_fact:
neovim_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add nextcloud_client - name: Add nextcloud_client
when:
- nextcloud_client_configured is undefined
block: block:
- name: Load nextcloud-client config - name: Load nextcloud-client config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add nfs_server - name: Append nfs_server to pkg_sys
when:
- nfs_server_configured is undefined
block:
- name: Append nfs_server to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + nfs_client.pkgs }}" pkg_sys: "{{ pkg_sys + nfs_client.pkgs }}"
- name: Set nfs_server_configured
ansible.builtin.set_fact:
nfs_server_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add nfs_server - name: Append nfs_server to pkg_sys
when:
- nfs_server_configured is undefined
block:
- name: Append nfs_server to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + nfs_server.pkgs }}" pkg_sys: "{{ pkg_sys + nfs_server.pkgs }}"
- name: Set nfs_server_configured
ansible.builtin.set_fact:
nfs_server_configured: true

View File

@@ -1,9 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
# - name: Add nodejs
# when:
# - nodejs_configured is undefined
# block:
- name: Load nodejs config - name: Load nodejs config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/nodejs.yml file: config/nodejs.yml
@@ -11,7 +7,3 @@
- name: Append nodejs to pkg_sys - name: Append nodejs to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + nodejs.pkgs }}" pkg_sys: "{{ pkg_sys + nodejs.pkgs }}"
- name: Set nodejs_configured
ansible.builtin.set_fact:
nodejs_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add nomad - name: Add nomad
when:
- nomad_configured is undefined
block: block:
- name: Load nomad config - name: Load nomad config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add nwg-hello - name: Load nwg-hello config
when:
- nwg_hello_configured is undefined
block:
- name: Load nwg-hello config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/nwg_hello.yml file: config/nwg_hello.yml
- name: Append nwg-hello build_deps to sys_pkg - name: Append nwg-hello build_deps to sys_pkg
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + nwg_hello.build_deps }}" pkg_sys: "{{ pkg_sys + nwg_hello.build_deps }}"
- name: Append nwg-hello to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['nwg_hello'] }}"

View File

@@ -1,20 +1,16 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add packer - name: Load packer config
when:
- packer_configured is undefined
block:
- name: Load packer config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/packer.yml file: config/packer.yml
- name: Append packer to pkg_tap - name: Append packer to pkg_tap
when: when:
- packer.method == 'tap' - packer.method == 'tap'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + packer.pkgs }}" pkg_tap: "{{ pkg_tap + packer.pkgs }}"
- name: Append packer to pkg_sys - name: Append packer to pkg_sys
when: when:
- packer.method == 'sys' - packer.method == 'sys'
notify: notify:
@@ -23,12 +19,8 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + packer.pkgs }}" pkg_sys: "{{ pkg_sys + packer.pkgs }}"
- name: Append packer to pkg_archive - name: Append packer to pkg_archive
when: when:
- packer.method == 'archive' - packer.method == 'archive'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['packer'] }}" pkg_archive: "{{ pkg_archive + ['packer'] }}"
- name: Set packer_configured
ansible.builtin.set_fact:
packer_configured: true

View File

@@ -1,12 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add pandoc - name: Append pandoc to pkg_sys
when:
- pandoc_configured is undefined
block:
- name: Append pandoc to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['pandoc'] }}" pkg_sys: "{{ pkg_sys + ['pandoc'] }}"
- name: Set pandoc_configured
ansible.builtin.set_fact:
pandoc_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add podman - name: Append podman to pkg_sys
when:
- podman_configured is undefined
block:
- name: Append podman to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['podman'] }}" pkg_sys: "{{ pkg_sys + ['podman'] }}"
- name: Set podman_configured
ansible.builtin.set_fact:
podman_configured: true

View File

@@ -1,25 +1,17 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add pulumi - name: Load pulumi config
when:
- pulumi_configured is undefined
block:
- name: Load pulumi config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/pulumi.yml file: config/pulumi.yml
- name: Append pulumi to pkg_archive - name: Append pulumi to pkg_archive
when: when:
- ansible_system == 'Linux' - ansible_system == 'Linux'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['pulumi'] }}" pkg_archive: "{{ pkg_archive + ['pulumi'] }}"
- name: Append to pulumi to pkg_sys - name: Append to pulumi to pkg_sys
when: when:
- ansible_system == 'Darwin' - ansible_system == 'Darwin'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['pulumi'] }}" pkg_sys: "{{ pkg_sys + ['pulumi'] }}"
- name: Set pulumi_configured
ansible.builtin.set_fact:
pulumi_configured: true

View File

@@ -1,17 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add python3 - name: Load python3 config
when:
- python3_configured is undefined
block:
- name: Load python3 config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/python3.yml file: config/python3.yml
- name: Append python3 to pkg_sys - name: Append python3 to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + python3.pkgs }}" pkg_sys: "{{ pkg_sys + python3.pkgs }}"
- name: Set python3_configured
ansible.builtin.set_fact:
python3_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add restic - name: Append restic to pkg_sys
when:
- restic_configured is undefined
block:
- name: Append restic to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['restic'] }}" pkg_sys: "{{ pkg_sys + ['restic'] }}"
- name: Set restic_configured
ansible.builtin.set_fact:
restic_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add ripgrep - name: Append ripgrep to pkg_sys
when:
- ripgrep_configured is undefined
block:
- name: Append ripgrep to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['ripgrep'] }}" pkg_sys: "{{ pkg_sys + ['ripgrep'] }}"
- name: Set ripgrep_configured
ansible.builtin.set_fact:
ripgrep_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add samba_client - name: Append samba_client to pkg_sys
when:
- samba_client_configured is undefined
block:
- name: Append samba_client to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + samba_client.pkgs }}" pkg_sys: "{{ pkg_sys + samba_client.pkgs }}"
- name: Set samba_client_configured
ansible.builtin.set_fact:
samba_client_configured: true

View File

@@ -1,12 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add samba_server - name: Append samba_server to pkg_sys
when:
- samba_server_configured is undefined
block:
- name: Append samba_server to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + samba_server.pkgs }}" pkg_sys: "{{ pkg_sys + samba_server.pkgs }}"
- name: Set samba_server_configured
ansible.builtin.set_fact:
samba_server_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add sd - name: Add sd
when:
- sd_configured is undefined
block: block:
- name: Append sd to pkg_sys - name: Append sd to pkg_sys
when: when:

View File

@@ -1,21 +1,13 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add sdbus_cpp_2 - name: Load sdbus-cpp-2 config
when:
- sdbus_cpp_2_configured is undefined
block:
- name: Load sdbus-cpp-2 config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/sdbus_cpp_2.yml file: config/sdbus_cpp_2.yml
- name: Append sdbus-cpp-2 build_deps to pkg_sys - name: Append sdbus-cpp-2 build_deps to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + sdbus_cpp_2.build_deps }}" pkg_sys: "{{ pkg_sys + sdbus_cpp_2.build_deps }}"
- name: Append sdbus-cpp-2 to pkg_src - name: Append sdbus-cpp-2 to pkg_src
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['sdbus_cpp_2'] }}" pkg_src: "{{ pkg_src + ['sdbus_cpp_2'] }}"
- name: Set sdbus_cpp_2_configured
ansible.builtin.set_fact:
sdbus_cpp_2_configured: true

View File

@@ -1,13 +1,9 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add stow - name: Append stow to pkg_sys
when:
- stow_configured is undefined
block:
- name: Append stow to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['stow'] }}" pkg_sys: "{{ pkg_sys + ['stow'] }}"
- name: Set stow_configured - name: Set stow_configured
ansible.builtin.set_fact: ansible.builtin.set_fact:
stow_configured: true stow_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add tailscale - name: Load tailscale config
when:
- tailscale_configured is undefined
block:
- name: Load tailscale config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/tailscale.yml file: config/tailscale.yml
- name: Append tailscale for linux - name: Append tailscale for linux
when: when:
- ansible_system == 'Linux' - ansible_system == 'Linux'
block: block:
@@ -66,12 +62,8 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['tailscale'] }}" pkg_sys: "{{ pkg_sys + ['tailscale'] }}"
- name: Append tailscale to pkg_cask - name: Append tailscale to pkg_cask
when: when:
- ansible_system == 'Darwin' - ansible_system == 'Darwin'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['tailscale'] }}" pkg_cask: "{{ pkg_cask + ['tailscale'] }}"
- name: Set tailscale_configured
ansible.builtin.set_fact:
tailscale_configured: true

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add targetcli - name: Append targetcli to pkg_sys
when:
- targetcli_configured is undefined
block:
- name: Append targetcli to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + targetcli.pkgs }}" pkg_sys: "{{ pkg_sys + targetcli.pkgs }}"
- name: Set targetcli_configured
ansible.builtin.set_fact:
targetcli_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add terraform - name: Load terraform config
when:
- terraform_configured is undefined
block:
- name: Load terraform config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/terraform.yml file: config/terraform.yml
- name: Append terraform - name: Append terraform
when: when:
- terraform.method == 'sys' - terraform.method == 'sys'
block: block:
@@ -30,12 +26,8 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + terraform.pkgs }}" pkg_sys: "{{ pkg_sys + terraform.pkgs }}"
- name: Append terraform to pkg_archive - name: Append terraform to pkg_archive
when: when:
- terraform.method == 'archive' - terraform.method == 'archive'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['terraform'] }}" pkg_archive: "{{ pkg_archive + ['terraform'] }}"
- name: Set terraform_configured
ansible.builtin.set_fact:
terraform_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add terraformls - name: Load terraformls config
when:
- terraformls_configured is undefined
block:
- name: Load terraformls config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/terraformls.yml file: config/terraformls.yml
- name: Append terraformls - name: Append terraformls
when: when:
- terraformls.method == 'sys' - terraformls.method == 'sys'
block: block:
@@ -30,12 +26,12 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + terraformls.pkgs }}" pkg_sys: "{{ pkg_sys + terraformls.pkgs }}"
- name: Append terraformls to pkg_go - name: Append terraformls to pkg_go
when: when:
- terraformls.method == 'gosrc' - terraformls.method == 'gosrc'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + [terraformls.gopkg] }}" pkg_go: "{{ pkg_go + [terraformls.gopkg] }}"
- name: Set terraformls_configured - name: Set terraformls_configured
ansible.builtin.set_fact: ansible.builtin.set_fact:
terraformls_configured: true terraformls_configured: true

View File

@@ -1,21 +1,17 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add thunderbird - name: Append thunderbird to pkg_sys
when:
- thunderbird_configured is undefined
block:
- name: Append thunderbird to pkg_sys
when: when:
- ansible_system == 'Linux' - ansible_system == 'Linux'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['thunderbird'] }}" pkg_sys: "{{ pkg_sys + ['thunderbird'] }}"
- name: Append thunderbird to pkg_cask - name: Append thunderbird to pkg_cask
when: when:
- ansible_system == 'Darwin' - ansible_system == 'Darwin'
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['thunderbird'] }}" pkg_cask: "{{ pkg_cask + ['thunderbird'] }}"
- name: Set thunderbird_configured - name: Set thunderbird_configured
ansible.builtin.set_fact: ansible.builtin.set_fact:
thunderbird_configured: true thunderbird_configured: true

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add tidy - name: Add tidy
when:
- tidy_configured is undefined
block: block:
- name: Load tidy config - name: Load tidy config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add tldr - name: Add tldr
when:
- tldr_configured is undefined
block: block:
- name: Append tldr to pkg_sys - name: Append tldr to pkg_sys
when: when:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add tmux - name: Add tmux
when:
- tmux_configured is undefined
block: block:
- name: Append tmux to pkg_sys - name: Append tmux to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:

View File

@@ -2,7 +2,6 @@
--- ---
- name: Add uwsm - name: Add uwsm
when: when:
- uwsm_configured is undefined
- ansible_os_family != 'Alpine' - ansible_os_family != 'Alpine'
- ansible_os_family != 'Darwin' - ansible_os_family != 'Darwin'
block: block:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add vault - name: Add vault
when:
- vault_configured is undefined
block: block:
- name: Load vault config - name: Load vault config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add xdg-desktop-portal-hyprland - name: Add xdg-desktop-portal-hyprland
when:
- xdg_desktop_portal_hyprland_configured is undefined
block: block:
- name: Load xdg-desktop-portal-hyprland config - name: Load xdg-desktop-portal-hyprland config
when: when:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add xh - name: Add xh
when:
- xh_configured is undefined
block: block:
- name: Load xh config - name: Load xh config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add yazi-fm - name: Add yazi-fm
when:
- yazi_fm_configured is undefined
block: block:
- name: Load yazi-fm config - name: Load yazi-fm config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add zfs - name: Add zfs
when:
- zfs_configured is undefined
block: block:
- name: Load zfs config - name: Load zfs config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add zoxide - name: Add zoxide
when:
- zoxide_configured is undefined
block: block:
- name: Append zoxide to pkg_sys - name: Append zoxide to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact:

View File

@@ -1,8 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Add zsh - name: Add zsh
when:
- zsh_configured is undefined
block: block:
- name: Append zsh to pkg_sys - name: Append zsh to pkg_sys
ansible.builtin.set_fact: ansible.builtin.set_fact: