fix broken packages
- standardize naming of each pkg append - move _configured vars to end of block
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- air_configured is undefined
|
- air_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_go
|
- name: Append air to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append alacritty to pkg_sys and pkg_cargo
|
||||||
notify:
|
notify:
|
||||||
- Depend cargo
|
- Depend cargo
|
||||||
changed_when: true
|
changed_when: true
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
pkg_sys: "{{ pkg_sys + alacritty.deps }}"
|
pkg_sys: "{{ pkg_sys + alacritty.deps }}"
|
||||||
pkg_cargo: "{{ pkg_cargo + [alacritty] }}"
|
pkg_cargo: "{{ pkg_cargo + [alacritty] }}"
|
||||||
|
|
||||||
- name: Append alacritty to caskpkgs
|
- name: Append alacritty to pkg_cask
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- ansible_lint_configured is undefined
|
- ansible_lint_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append ansible-lint to sys_pkg
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['ansible-lint'] }}"
|
pkg_sys: "{{ pkg_sys + ['ansible-lint'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# vim: set filetype=yaml.ansible :
|
# vim: set filetype=yaml.ansible :
|
||||||
---
|
---
|
||||||
- name: Append to pkgs
|
- name: Append ansible to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['ansible'] }}"
|
pkg_sys: "{{ pkg_sys + ['ansible'] }}"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- ansible_ls_configured is undefined
|
- ansible_ls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append ansible-language-server to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,17 +4,13 @@
|
|||||||
when:
|
when:
|
||||||
- aquamarine_configured is undefined
|
- aquamarine_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set aquamarine_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
aquamarine_configured: true
|
|
||||||
|
|
||||||
- name: Load aquamarine config
|
- name: Load aquamarine config
|
||||||
when:
|
when:
|
||||||
- aquamarine is undefined
|
- aquamarine is undefined
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/aquamarine.yml
|
file: config/aquamarine.yml
|
||||||
|
|
||||||
- name: Ensure pkg_deps are added
|
- name: Append aquamarine pkg_deps
|
||||||
loop: "{{ aquamarine.pkg_deps }}"
|
loop: "{{ aquamarine.pkg_deps }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: aquamarine_pkg_dep
|
loop_var: aquamarine_pkg_dep
|
||||||
@@ -23,7 +19,11 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: "pkgs/{{ aquamarine_pkg_dep }}.yml"
|
file: "pkgs/{{ aquamarine_pkg_dep }}.yml"
|
||||||
|
|
||||||
- name: Append to pkg_sys
|
- name: Append aquamarine to pkg_sys and pkg_src
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + aquamarine.build_deps }}"
|
pkg_sys: "{{ pkg_sys + aquamarine.build_deps }}"
|
||||||
pkg_src: "{{ pkg_src + ['aquamarine'] }}"
|
pkg_src: "{{ pkg_src + ['aquamarine'] }}"
|
||||||
|
|
||||||
|
- name: Set aquamarine_configured
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
aquamarine_configured: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- bashls_configured is undefined
|
- bashls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append bash-language-server to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- bat_configured is undefined
|
- bat_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append bat to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['bat'] }}"
|
pkg_sys: "{{ pkg_sys + ['bat'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/bitwarden.yml
|
file: config/bitwarden.yml
|
||||||
|
|
||||||
- name: Append to pkg_flatpak
|
- name: Append bitwarden to pkg_flatpak
|
||||||
when:
|
when:
|
||||||
- bitwarden.method == 'flatpak'
|
- bitwarden.method == 'flatpak'
|
||||||
notify:
|
notify:
|
||||||
@@ -17,13 +17,13 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_flatpak: "{{ pkg_flatpak + [bitwarden.pkg] }}"
|
pkg_flatpak: "{{ pkg_flatpak + [bitwarden.pkg] }}"
|
||||||
|
|
||||||
- name: Append to pkg_appimage
|
- name: Append bitwarden to pkg_appimage
|
||||||
when:
|
when:
|
||||||
- bitwarden.method == 'appimage'
|
- bitwarden.method == 'appimage'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_appimage: "{{ pkg_appimage + [bitwarden.pkg] }}"
|
pkg_appimage: "{{ pkg_appimage + [bitwarden.pkg] }}"
|
||||||
|
|
||||||
- name: Append to pkg_cask
|
- name: Append bitwarden to pkg_cask
|
||||||
when:
|
when:
|
||||||
- bitwarden.method == 'brew'
|
- bitwarden.method == 'brew'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,13 +4,13 @@
|
|||||||
when:
|
when:
|
||||||
- blender_configured is undefined
|
- blender_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- 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 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:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/broot.yml
|
file: config/broot.yml
|
||||||
|
|
||||||
- name: Append to pkg_sys and pkg_cargo
|
- name: Append broot to pkg_sys and pkg_cargo
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
pkg_sys: "{{ pkg_sys + broot.deps }}"
|
pkg_sys: "{{ pkg_sys + broot.deps }}"
|
||||||
pkg_cargo: "{{ pkg_cargo + [broot] }}"
|
pkg_cargo: "{{ pkg_cargo + [broot] }}"
|
||||||
|
|
||||||
- name: Append to pkg_sys
|
- name: Append broot to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- btop_configured is undefined
|
- btop_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_ssys
|
- name: Append btop to pkg_ssys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['btop'] }}"
|
pkg_sys: "{{ pkg_sys + ['btop'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- buf_configured is undefined
|
- buf_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_go
|
- name: Append buf to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- bufls_configured is undefined
|
- bufls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_go
|
- name: Append bufls to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
state: present
|
state: present
|
||||||
update_cache: false
|
update_cache: false
|
||||||
|
|
||||||
- name: Add 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 }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- cheat_configured is undefined
|
- cheat_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_go
|
- name: Append cheat to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- checkmake_configured is undefined
|
- checkmake_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_go
|
- name: Add checkmake to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/choose.yml
|
file: config/choose.yml
|
||||||
|
|
||||||
- name: Append to cargopkgs
|
- name: Append choose to pkg_cargo
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_cargo: "{{ pkg_cargo + [choose] }}"
|
pkg_cargo: "{{ pkg_cargo + [choose] }}"
|
||||||
|
|
||||||
- name: Append to pkg_sys
|
- name: Append choose-rust to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- cmake_configured is undefined
|
- cmake_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append cmake to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['cmake'] }}"
|
pkg_sys: "{{ pkg_sys + ['cmake'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- cmakelang_configured is undefined
|
- cmakelang_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_pipx
|
- name: Add cmakelang to pkg_pipx
|
||||||
notify:
|
notify:
|
||||||
- Depend pipx
|
- Depend pipx
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- commitlint_cli_configured is undefined
|
- commitlint_cli_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append commitlint/cli to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- comitlint_config_conventional_configured is undefined
|
- comitlint_config_conventional_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append commitlit/config-conventional to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/consul.yml
|
file: config/consul.yml
|
||||||
|
|
||||||
- name: Append to pkg_sys
|
- name: Append consul to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + consul.pkgs }}"
|
pkg_sys: "{{ pkg_sys + consul.pkgs }}"
|
||||||
|
|
||||||
- name: Append to pkg_tap
|
- name: Append consul to pkg_tap
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
notify:
|
notify:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- cssls_configured is undefined
|
- cssls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append vscode-langservers-extracted to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- curlie_configured is undefined
|
- curlie_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_go
|
- name: Append curlie to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- dbeaver_configured is undefined
|
- dbeaver_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_flatpak
|
- name: Append dbeaver to pkg_flatpak
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_flatpak: "{{ pkg_flatpak + ['io.dbeaver.DBeaverCommunity'] }}"
|
pkg_flatpak: "{{ pkg_flatpak + ['io.dbeaver.DBeaverCommunity'] }}"
|
||||||
|
|
||||||
- name: Append to pkg_cask
|
- name: Append dbeaver to pkg_cask
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- direnv_configured is undefined
|
- direnv_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append direnv to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['direnv'] }}"
|
pkg_sys: "{{ pkg_sys + ['direnv'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- dockerls_configured is undefined
|
- dockerls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append dockerfile-language-server-nodejs to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- dotenv_linter_configured is undefined
|
- dotenv_linter_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_cargo
|
- name: Append dotenv-linter to pkg_cargo
|
||||||
notify:
|
notify:
|
||||||
- Depend cargo
|
- Depend cargo
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- duf_configured is undefined
|
- duf_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_go
|
- name: Append duf to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- dust_configured is undefined
|
- dust_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Linux specific install
|
- name: Append du-dust to pkg_cargo
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_cargo: "{{ pkg_cargo + ['du-dust'] }}"
|
pkg_cargo: "{{ pkg_cargo + ['du-dust'] }}"
|
||||||
|
|
||||||
- name: Append to pkg_sys
|
- name: Append dust to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'Darwin'
|
- ansible_os_family == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- editorconfig_configured is undefined
|
- editorconfig_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append editorconfig to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['editorconfig'] }}"
|
pkg_sys: "{{ pkg_sys + ['editorconfig'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- eslint_configured is undefined
|
- eslint_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append vscode-langservers-extracted to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- eza_configured is undefined
|
- eza_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_cargo
|
- name: Append eza to pkg_cargo
|
||||||
notify:
|
notify:
|
||||||
- Depend cargo
|
- Depend cargo
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/fd.yml
|
file: config/fd.yml
|
||||||
|
|
||||||
- name: Append 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 }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,13 @@
|
|||||||
when:
|
when:
|
||||||
- firefox_configured is undefined
|
- firefox_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- 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 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:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- flatpak_configured is undefined
|
- flatpak_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append flatpak to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- cmake_configured is undefined
|
- cmake_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append fzf to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['fzf'] }}"
|
pkg_sys: "{{ pkg_sys + ['fzf'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -8,31 +8,34 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/ghostty.yml
|
file: config/ghostty.yml
|
||||||
|
|
||||||
- name: Source pkg installation
|
- name: Source ghostty pkg installation
|
||||||
when:
|
when:
|
||||||
- ghostty.method == 'src'
|
- ghostty.method == 'src'
|
||||||
- ansible_distribution != 'MacOSX'
|
- ansible_distribution != 'MacOSX'
|
||||||
block:
|
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:
|
notify:
|
||||||
- Depend zig
|
- Depend zig
|
||||||
changed_when: true
|
changed_when: true
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ghostty.deps }}"
|
|
||||||
pkg_src: "{{ pkg_src + ['ghostty'] }}"
|
pkg_src: "{{ pkg_src + ['ghostty'] }}"
|
||||||
|
|
||||||
- name: Appimage installation
|
- name: Append ghostty to pkg_appimage
|
||||||
when:
|
when:
|
||||||
- ghostty.method == 'appimage'
|
- ghostty.method == 'appimage'
|
||||||
- ansible_distribution != 'MacOSX'
|
- ansible_distribution != 'MacOSX'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_appimage: "{{ pkg_appimage + ghostty_vars.appimage }}"
|
pkg_appimage: "{{ pkg_appimage + ghostty }}"
|
||||||
|
|
||||||
- name: Sys pkg installation
|
- name: Sys pkg installation
|
||||||
when:
|
when:
|
||||||
- ghostty.method == 'sys'
|
- ghostty.method == 'sys'
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append ghostty to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == 'Fedora'
|
- ansible_distribution == 'Fedora'
|
||||||
notify:
|
notify:
|
||||||
@@ -41,7 +44,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['ghostty'] }}"
|
pkg_sys: "{{ pkg_sys + ['ghostty'] }}"
|
||||||
|
|
||||||
- name: Cask pkg installation
|
- name: Append ghostty to pkg_cask
|
||||||
when:
|
when:
|
||||||
- ghostty.method == 'brew'
|
- ghostty.method == 'brew'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,14 +4,14 @@
|
|||||||
when:
|
when:
|
||||||
- git_configured is undefined
|
- git_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set git_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
git_configured: true
|
|
||||||
|
|
||||||
- name: Load git config
|
- name: Load git config
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/git.yml
|
file: config/git.yml
|
||||||
|
|
||||||
- name: Append to pkgs
|
- 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
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- glow_configured is undefined
|
- glow_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_go
|
- name: Append glow to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -8,13 +8,13 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/go.yml
|
file: config/go.yml
|
||||||
|
|
||||||
- name: Install from 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 pkgs
|
- 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'] }}"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- godot_configured is undefined
|
- godot_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_flatpak
|
- name: Append godot to pkg_flatpak
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_flatpak: "{{ pkg_flatpak + ['org.godotengine.Godot'] }}"
|
pkg_flatpak: "{{ pkg_flatpak + ['org.godotengine.Godot'] }}"
|
||||||
|
|
||||||
- name: Append to pkg_cask
|
- name: Append godot to pkg_cask
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- gopls_configured is undefined
|
- gopls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_go
|
- name: Append gopls to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,13 +4,13 @@
|
|||||||
when:
|
when:
|
||||||
- gping_configured is undefined
|
- gping_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append gping to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['gping'] }}"
|
pkg_sys: "{{ pkg_sys + ['gping'] }}"
|
||||||
|
|
||||||
- name: Append to pkg_cargo
|
- name: Append gping to pkg_cargo
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- heroic_configured is undefined
|
- heroic_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_flatpak
|
- name: Append heroic to pkg_flatpak
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_flatpak: "{{ pkg_flatpak + ['com.heroicgameslauncher.hgl'] }}"
|
pkg_flatpak: "{{ pkg_flatpak + ['com.heroicgameslauncher.hgl'] }}"
|
||||||
|
|
||||||
- name: Append to pkg_cask
|
- name: Append heroic to pkg_cask
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'Darwin'
|
- ansible_os_family == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- htmlls_configured is undefined
|
- htmlls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append vscode-langservers-extracted to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- htmx_lsp_configured is undefined
|
- htmx_lsp_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_cargo
|
- name: Append htmx-lsp to pkg_cargo
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_cargo: "{{ pkg_cargo + ['htmx-lsp'] }}"
|
pkg_cargo: "{{ pkg_cargo + ['htmx-lsp'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/httpie.yml
|
file: config/httpie.yml
|
||||||
|
|
||||||
- name: Append to pkg_flatpak
|
- name: Append httpie to pkg_flatpak
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_flatpak: "{{ pkg_flatpak + [httpie.pkg] }}"
|
pkg_flatpak: "{{ pkg_flatpak + [httpie.pkg] }}"
|
||||||
|
|
||||||
- name: Append to pkg_cask
|
- name: Append httpie to pkg_cask
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'Darwin'
|
- ansible_os_family == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- hugo_configured is undefined
|
- hugo_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append hugo to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['hugo'] }}"
|
pkg_sys: "{{ pkg_sys + ['hugo'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- hyperfine_configured is undefined
|
- hyperfine_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append hyperfine to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['hyperfine'] }}"
|
pkg_sys: "{{ pkg_sys + ['hyperfine'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,17 +4,18 @@
|
|||||||
when:
|
when:
|
||||||
- hyprcursor_configured is undefined
|
- hyprcursor_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set hyprcursor_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
hyprcursor_configured: true
|
|
||||||
|
|
||||||
- name: Load hyprcursor config
|
- name: Load hyprcursor config
|
||||||
when:
|
|
||||||
- hyprcursor is undefined
|
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/hyprcursor.yml
|
file: config/hyprcursor.yml
|
||||||
|
|
||||||
- name: Append to pkg_src
|
- 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
|
||||||
|
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
|
||||||
|
|||||||
@@ -4,17 +4,18 @@
|
|||||||
when:
|
when:
|
||||||
- hyprgraphics_configured is undefined
|
- hyprgraphics_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set hyprgraphics_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
hyprgraphics_configured: true
|
|
||||||
|
|
||||||
- name: Load hyprgraphics config
|
- name: Load hyprgraphics config
|
||||||
when:
|
|
||||||
- hyprgraphics is undefined
|
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/hyprgraphics.yml
|
file: config/hyprgraphics.yml
|
||||||
|
|
||||||
- name: Append to pkg_src
|
- 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
|
||||||
|
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
|
||||||
|
|||||||
@@ -4,17 +4,11 @@
|
|||||||
when:
|
when:
|
||||||
- hyprland_configured is undefined
|
- hyprland_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set hyprland_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
hyprland_configured: true
|
|
||||||
|
|
||||||
- name: Load hyprland config
|
- name: Load hyprland config
|
||||||
when:
|
|
||||||
- hyprland is undefined
|
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/hyprland.yml
|
file: config/hyprland.yml
|
||||||
|
|
||||||
- name: Ensure pkg_deps are added
|
- 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
|
||||||
@@ -23,7 +17,14 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: "pkgs/{{ hyprland_pkg_dep }}.yml"
|
file: "pkgs/{{ hyprland_pkg_dep }}.yml"
|
||||||
|
|
||||||
- name: Append to pkg_src
|
- 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
|
||||||
|
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
|
||||||
|
|||||||
@@ -4,17 +4,18 @@
|
|||||||
when:
|
when:
|
||||||
- hyprland_protcols_configured is undefined
|
- hyprland_protcols_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set hyprland_protcols_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
hyprland_protcols_configured: true
|
|
||||||
|
|
||||||
- name: Load hyprland-protocols config
|
- name: Load hyprland-protocols config
|
||||||
when:
|
|
||||||
- hyprland_protocols is undefined
|
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/hyprland_protocols.yml
|
file: config/hyprland_protocols.yml
|
||||||
|
|
||||||
- name: Append to pkg lists
|
- 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
|
||||||
|
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
|
||||||
|
|||||||
@@ -4,17 +4,11 @@
|
|||||||
when:
|
when:
|
||||||
- hyprlang_configured is undefined
|
- hyprlang_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set hyprlang_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
hyprlang_configured: true
|
|
||||||
|
|
||||||
- name: Load hyprlang config
|
- name: Load hyprlang config
|
||||||
when:
|
|
||||||
- hyprlang is undefined
|
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/hyprlang.yml
|
file: config/hyprlang.yml
|
||||||
|
|
||||||
- name: Ensure pkg_deps are added
|
- 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
|
||||||
@@ -23,7 +17,14 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: "pkgs/{{ hyprlang_pkg_dep }}.yml"
|
file: "pkgs/{{ hyprlang_pkg_dep }}.yml"
|
||||||
|
|
||||||
- name: Append to pkg_src
|
- 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
|
||||||
|
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
|
||||||
|
|||||||
@@ -4,17 +4,18 @@
|
|||||||
when:
|
when:
|
||||||
- hyprpolkitagent_configured is undefined
|
- hyprpolkitagent_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set hyprpolkitagent_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
hyprpolkitagent_configured: true
|
|
||||||
|
|
||||||
- name: Load hyprpolkitagent config
|
- name: Load hyprpolkitagent config
|
||||||
when:
|
|
||||||
- hyprpolkitagent is undefined
|
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/hyprpolkitagent.yml
|
file: config/hyprpolkitagent.yml
|
||||||
|
|
||||||
- name: Append to pkg_src
|
- 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
|
||||||
|
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
|
||||||
|
|||||||
@@ -4,17 +4,18 @@
|
|||||||
when:
|
when:
|
||||||
- hyprutils_configured is undefined
|
- hyprutils_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set hyprutils_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
hyprutils_configured: true
|
|
||||||
|
|
||||||
- name: Load hyprutils config
|
- name: Load hyprutils config
|
||||||
when:
|
|
||||||
- hyprutils is undefined
|
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/hyprutils.yml
|
file: config/hyprutils.yml
|
||||||
|
|
||||||
- name: Append to pkg_src
|
- 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
|
||||||
|
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
|
||||||
|
|||||||
@@ -4,19 +4,18 @@
|
|||||||
when:
|
when:
|
||||||
- hyprwayland_scanner_configured is undefined
|
- hyprwayland_scanner_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set hyprwayland_scanner_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
hyprwayland_scanner_configured: true
|
|
||||||
|
|
||||||
- name: Load hyprwayland-scanner config
|
- name: Load hyprwayland-scanner config
|
||||||
when:
|
|
||||||
- hyprwayland_scanner is undefined
|
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/hyprwayland_scanner.yml
|
file: config/hyprwayland_scanner.yml
|
||||||
|
|
||||||
- name: Append to pkg_sys and pkg_src
|
- name: Append hyprwayland-scanner build_deps to pkg_sys
|
||||||
when:
|
|
||||||
- ansible_os_family == 'RedHat'
|
|
||||||
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
|
||||||
|
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
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- intelephense_configured is undefined
|
- intelephense_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append intelephense to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- jinja_lsp_configured is undefined
|
- jinja_lsp_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_cargo
|
- name: Append jinja-lsp to pkg_cargo
|
||||||
notify:
|
notify:
|
||||||
- Depend cargo
|
- Depend cargo
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- jq_configured is undefined
|
- jq_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append jq to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['jq'] }}"
|
pkg_sys: "{{ pkg_sys + ['jq'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- jsonls_configured is undefined
|
- jsonls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append vscode-langservers-extracted to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/kitty.yml
|
file: config/kitty.yml
|
||||||
|
|
||||||
- name: Add 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 }}"
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# vim: set filetype=yaml.ansible :
|
# vim: set filetype=yaml :
|
||||||
---
|
---
|
||||||
- name: Add lazygit
|
- name: Add lazygit
|
||||||
when:
|
when:
|
||||||
- lazygit_configured is undefined
|
- lazygit_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_go
|
- name: Append lazygit to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -8,19 +8,19 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/libreoffice.yml
|
file: config/libreoffice.yml
|
||||||
|
|
||||||
- name: Append 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 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 to caskpkgs
|
- name: Append libreoffice to caskpkgs
|
||||||
when:
|
when:
|
||||||
- libreoffice.method == 'cask'
|
- libreoffice.method == 'cask'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -8,13 +8,13 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/luals.yml
|
file: config/luals.yml
|
||||||
|
|
||||||
- name: Append to pkgs
|
- 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 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:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- markdownlint_cli_configured is undefined
|
- markdownlint_cli_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append markdownlint-cli to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,13 +4,13 @@
|
|||||||
when:
|
when:
|
||||||
- mcfly_configured is undefined
|
- mcfly_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append mcfly to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'Darwin'
|
- ansible_os_family == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['mcfly'] }}"
|
pkg_sys: "{{ pkg_sys + ['mcfly'] }}"
|
||||||
|
|
||||||
- name: Add to pkg_cargo
|
- name: Append mcfly to pkg_cargo
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
- name: Append minio client to pkgs
|
- name: Append mc to pkg_go
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_go: "{{ pkg_go + ['github.com/minio/mc@latest'] }}"
|
pkg_go: "{{ pkg_go + ['github.com/minio/mc@latest'] }}"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/neovide.yml
|
file: config/neovide.yml
|
||||||
|
|
||||||
- name: Append to pkgs
|
- name: Append neovide to pkg_sys and pkg_cargo
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/neovim.yml
|
file: config/neovim.yml
|
||||||
|
|
||||||
- name: Append to appimages
|
- name: Append neovim to pkg_appimage
|
||||||
when:
|
when:
|
||||||
- neovim.method == 'appimage'
|
- neovim.method == 'appimage'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
@@ -20,6 +20,12 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['neovim'] }}"
|
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
|
- name: Set neovim_configured
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
neovim_configured: true
|
neovim_configured: true
|
||||||
|
|||||||
@@ -8,13 +8,13 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/nerdfonts.yml
|
file: config/nerdfonts.yml
|
||||||
|
|
||||||
- name: Append to srcpkgs
|
- name: Append nerdfonts to pkg_archive
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_archive: "{{ pkg_archive + ['nerdfonts'] }}"
|
pkg_archive: "{{ pkg_archive + ['nerdfonts'] }}"
|
||||||
|
|
||||||
- name: Append to caskpkgs
|
- name: Append nerdfonts to pkg_cask
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
loop: "{{ nerdfonts.fonts }}"
|
loop: "{{ nerdfonts.fonts }}"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/nextcloud.yml
|
file: config/nextcloud.yml
|
||||||
|
|
||||||
- name: Append to pkg_Flatpak
|
- name: Append nextcloud-client to pkg_Flatpak
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
- nextcloud.method == 'flatpak'
|
- nextcloud.method == 'flatpak'
|
||||||
@@ -18,14 +18,14 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_flatpak: "{{ pkg_flatpak + [nextcloud] }}"
|
pkg_flatpak: "{{ pkg_flatpak + [nextcloud] }}"
|
||||||
|
|
||||||
- name: Append to pkg_sys
|
- name: Append nextcloud-client to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
- nextcloud.method == 'sys'
|
- nextcloud.method == 'sys'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['nextcloud'] }}"
|
pkg_sys: "{{ pkg_sys + ['nextcloud'] }}"
|
||||||
|
|
||||||
- name: Append to pkg_cask
|
- name: Append nextcloud-client to pkg_cask
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'Darwin'
|
- ansible_os_family == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- nginxls_configured is undefined
|
- nginxls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_pipx
|
- name: Append nginx-language-server to pkg_pipx
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/nodejs.yml
|
file: config/nodejs.yml
|
||||||
|
|
||||||
- name: Append to pkgs
|
- 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 }}"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/nomad.yml
|
file: config/nomad.yml
|
||||||
|
|
||||||
- name: Append to pkg_tap
|
- name: Append nomad to pkg_tap
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == 'MacOSX'
|
- ansible_distribution == 'MacOSX'
|
||||||
notify:
|
notify:
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_tap: "{{ pkg_tap + nomad.pkgs }}"
|
pkg_tap: "{{ pkg_tap + nomad.pkgs }}"
|
||||||
|
|
||||||
- name: Append to pkg_sys
|
- name: Append nomad to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
|
|||||||
@@ -8,13 +8,13 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/packer.yml
|
file: config/packer.yml
|
||||||
|
|
||||||
- name: Append to pkg_tap
|
- name: Append packer to pkg_tap
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_tap: "{{ pkg_tap + packer.pkgs }}"
|
pkg_tap: "{{ pkg_tap + packer.pkgs }}"
|
||||||
|
|
||||||
- name: Append to pkg_sys
|
- name: Append packer to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- pandoc_configured is undefined
|
- pandoc_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append pandoc to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['pandoc'] }}"
|
pkg_sys: "{{ pkg_sys + ['pandoc'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/pgadmin.yml
|
file: config/pgadmin.yml
|
||||||
|
|
||||||
- name: Append to pkg_flatpak
|
- name: Append pgadmin to pkg_flatpak
|
||||||
when:
|
when:
|
||||||
- pgadmin.method == 'flatpak'
|
- pgadmin.method == 'flatpak'
|
||||||
notify:
|
notify:
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_flatpak: "{{ pkg_flatpak + [pgadmin.flatpak] }}"
|
pkg_flatpak: "{{ pkg_flatpak + [pgadmin.flatpak] }}"
|
||||||
|
|
||||||
- name: Append to pkg_cask
|
- name: Append pgadmin to pkg_cask
|
||||||
when:
|
when:
|
||||||
- pgadmin.method == 'cask'
|
- pgadmin.method == 'cask'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- pipx_configured is undefined
|
- pipx_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkgs
|
- name: Append pipx to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['pipx'] }}"
|
pkg_sys: "{{ pkg_sys + ['pipx'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- podman_configured is undefined
|
- podman_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append podman to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['podman'] }}"
|
pkg_sys: "{{ pkg_sys + ['podman'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,6 @@
|
|||||||
when:
|
when:
|
||||||
- pulumi_configured is undefined
|
- pulumi_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Set pulumi_configured
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
pulumi_configured: true
|
|
||||||
|
|
||||||
- name: Load pulumi config
|
- name: Load pulumi config
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/pulumi.yml
|
file: config/pulumi.yml
|
||||||
@@ -23,3 +19,7 @@
|
|||||||
- 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
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- pyright_configured is undefined
|
- pyright_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_pipx
|
- name: Append pyright to pkg_pipx
|
||||||
notify:
|
notify:
|
||||||
- Depend pipx
|
- Depend pipx
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/python3.yml
|
file: config/python3.yml
|
||||||
|
|
||||||
- name: Append to pkgs
|
- 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 }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- quobix_vacuum_configured is undefined
|
- quobix_vacuum_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append quobix/vacuum to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- revive_configured is undefined
|
- revive_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_go
|
- name: Append revive to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- ripgrep_configured is undefined
|
- ripgrep_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append ripgrep to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['ripgrep'] }}"
|
pkg_sys: "{{ pkg_sys + ['ripgrep'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/rust.yml
|
file: config/rust.yml
|
||||||
|
|
||||||
- name: Append to pkgs
|
- name: Append rust to pkgs
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + rust.pkgs }}"
|
pkg_sys: "{{ pkg_sys + rust.pkgs }}"
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,13 @@
|
|||||||
when:
|
when:
|
||||||
- sd_configured is undefined
|
- sd_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append sd to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['sd'] }}"
|
pkg_sys: "{{ pkg_sys + ['sd'] }}"
|
||||||
|
|
||||||
- name: Add to pkg_cargo
|
- name: Append sd to pkg_cargo
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
|
|||||||
@@ -5,14 +5,15 @@
|
|||||||
- sdbus_cpp_2_configured is undefined
|
- sdbus_cpp_2_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Load sdbus-cpp-2 config
|
- name: Load sdbus-cpp-2 config
|
||||||
when:
|
|
||||||
- sdbus_cpp_2 is undefined
|
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/sdbus_cpp_2.yml
|
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:
|
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
|
||||||
|
ansible.builtin.set_fact:
|
||||||
pkg_src: "{{ pkg_src + ['sdbus_cpp_2'] }}"
|
pkg_src: "{{ pkg_src + ['sdbus_cpp_2'] }}"
|
||||||
|
|
||||||
- name: Set sdbus_cpp_2_configured
|
- name: Set sdbus_cpp_2_configured
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- sqlfluff_configured is undefined
|
- sqlfluff_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_pipx
|
- name: Append sqlfluff to pkg_pipx
|
||||||
notify:
|
notify:
|
||||||
- Depend pipx
|
- Depend pipx
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- sqlls_configured is undefined
|
- sqlls_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Append sql-language-server to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- starship_configured is undefined
|
- starship_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_cargo
|
- name: Append starship to pkg_cargo
|
||||||
notify:
|
notify:
|
||||||
- Depend cargo
|
- Depend cargo
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- stow_configured is undefined
|
- stow_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Append to pkg_sys
|
- name: Append stow to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['stow'] }}"
|
pkg_sys: "{{ pkg_sys + ['stow'] }}"
|
||||||
|
|
||||||
|
|||||||
@@ -8,15 +8,15 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/tailscale.yml
|
file: config/tailscale.yml
|
||||||
|
|
||||||
- name: Enable for linux
|
- name: Append tailscale for linux
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
block:
|
block:
|
||||||
- name: Enable for RedHat distros
|
- name: Append tailscale for RedHat distros
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'RedHat'
|
- ansible_os_family == 'RedHat'
|
||||||
block:
|
block:
|
||||||
- name: Fedora >=41
|
- name: Add tailscale repo for Fedora >=41
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
creates: /etc/yum.repos.d/tailscale.repo
|
creates: /etc/yum.repos.d/tailscale.repo
|
||||||
cmd: "dnf config-manager addrepo --from-repofile={{ tailscale.url_base }}/fedora/tailscale.repo"
|
cmd: "dnf config-manager addrepo --from-repofile={{ tailscale.url_base }}/fedora/tailscale.repo"
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
- ansible_distribution == 'Fedora'
|
- ansible_distribution == 'Fedora'
|
||||||
- ansible_distribution_major_version|int >= 41
|
- ansible_distribution_major_version|int >= 41
|
||||||
|
|
||||||
- name: Fedora <41
|
- name: Add tailscale repo for Fedora <41
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
creates: /etc/yum.repos.d/tailscale.repo
|
creates: /etc/yum.repos.d/tailscale.repo
|
||||||
cmd: "dnf config-manager --add-repo {{ tailscale.url_base }}/fedora/tailscale.repo"
|
cmd: "dnf config-manager --add-repo {{ tailscale.url_base }}/fedora/tailscale.repo"
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
- ansible_distribution == 'Fedora'
|
- ansible_distribution == 'Fedora'
|
||||||
- ansible_distribution_major_version|int < 41
|
- ansible_distribution_major_version|int < 41
|
||||||
|
|
||||||
- name: Rhel based distros
|
- name: Add tailscale for Rhel based distros
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
creates: /etc/yum.repos.d/tailscale.repo
|
creates: /etc/yum.repos.d/tailscale.repo
|
||||||
cmd: "dnf config-manager --add-repo {{ tailscale.url_base }}/rhel/{{ ansible_os_major_version }}/tailscale.repo"
|
cmd: "dnf config-manager --add-repo {{ tailscale.url_base }}/rhel/{{ ansible_os_major_version }}/tailscale.repo"
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
when:
|
when:
|
||||||
- ansible_distribution != 'Fedora'
|
- ansible_distribution != 'Fedora'
|
||||||
|
|
||||||
- name: Enable for Debian distros
|
- name: Append tailscale for Debian distros
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'Debian'
|
- ansible_os_family == 'Debian'
|
||||||
block:
|
block:
|
||||||
@@ -62,11 +62,11 @@
|
|||||||
dest: /etc/apt/sources.list.d/tailscale.list
|
dest: /etc/apt/sources.list.d/tailscale.list
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
- name: Append to pkg_sys
|
- name: Append tailscale to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['tailscale'] }}"
|
pkg_sys: "{{ pkg_sys + ['tailscale'] }}"
|
||||||
|
|
||||||
- name: Append 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:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- tailwindcss_languageserver_configured is undefined
|
- tailwindcss_languageserver_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_npm
|
- name: Add tailwindcss/language-server to pkg_npm
|
||||||
notify:
|
notify:
|
||||||
- Depend node
|
- Depend node
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
when:
|
when:
|
||||||
- templ_configured is undefined
|
- templ_configured is undefined
|
||||||
block:
|
block:
|
||||||
- name: Add to pkg_go
|
- name: Append templ to pkg_go
|
||||||
notify:
|
notify:
|
||||||
- Depend go
|
- Depend go
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/terraform.yml
|
file: config/terraform.yml
|
||||||
|
|
||||||
- name: Append to pkgs
|
- name: Append terraform
|
||||||
block:
|
block:
|
||||||
- name: MacOSX specific
|
- name: Append terraform to pkg_tap
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == 'MacOSX'
|
- ansible_distribution == 'MacOSX'
|
||||||
notify:
|
notify:
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_tap: "{{ pkg_tap + terraform.pkgs }}"
|
pkg_tap: "{{ pkg_tap + terraform.pkgs }}"
|
||||||
|
|
||||||
- name: Linux specific
|
- name: Append terraform to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: config/terraformls.yml
|
file: config/terraformls.yml
|
||||||
|
|
||||||
- name: Append to pkgs
|
- name: Append terraformls
|
||||||
block:
|
block:
|
||||||
- name: MacOS specific
|
- name: Append terraformls to pkg_tap
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Darwin'
|
- ansible_system == 'Darwin'
|
||||||
notify:
|
notify:
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_tap: "{{ pkg_tap + terraformls.pkgs }}"
|
pkg_tap: "{{ pkg_tap + terraformls.pkgs }}"
|
||||||
|
|
||||||
- name: Linux specific
|
- name: Append terraformls to pkg_sys
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
notify:
|
notify:
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user