fix broken packages

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

View File

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