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