fix broken packages
- standardize naming of each pkg append - move _configured vars to end of block
This commit is contained in:
@@ -4,17 +4,11 @@
|
||||
when:
|
||||
- hyprlang_configured is undefined
|
||||
block:
|
||||
- name: Set hyprlang_configured
|
||||
ansible.builtin.set_fact:
|
||||
hyprlang_configured: true
|
||||
|
||||
- name: Load hyprlang config
|
||||
when:
|
||||
- hyprlang is undefined
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/hyprlang.yml
|
||||
|
||||
- name: Ensure pkg_deps are added
|
||||
- name: Append hyprland pkg_deps
|
||||
loop: "{{ hyprlang.pkg_deps }}"
|
||||
loop_control:
|
||||
loop_var: hyprlang_pkg_dep
|
||||
@@ -23,7 +17,14 @@
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/{{ hyprlang_pkg_dep }}.yml"
|
||||
|
||||
- name: Append to pkg_src
|
||||
- name: Append hyprlang build_deps to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + hyprlang.build_deps }}"
|
||||
|
||||
- name: Append hyprlang to pkg_src
|
||||
ansible.builtin.set_fact:
|
||||
pkg_src: "{{ pkg_src + ['hyprlang'] }}"
|
||||
|
||||
- name: Set hyprlang_configured
|
||||
ansible.builtin.set_fact:
|
||||
hyprlang_configured: true
|
||||
|
||||
Reference in New Issue
Block a user