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,30 +1,22 @@
# vim: set filetype=yaml.ansible :
---
- name: Add hyprland_qt_support
when:
- hyprland_qt_support_configured is undefined
block:
- name: Load hyprland_qt_support config
ansible.builtin.include_tasks:
file: config/hyprland_qt_support.yml
- name: Load hyprland_qt_support config
ansible.builtin.include_tasks:
file: config/hyprland_qt_support.yml
- name: Append hyprland_qt_support pkg_deps
loop: "{{ hyprland_qt_support.pkg_deps }}"
loop_control:
loop_var: hyprland_qt_support_pkg_dep
vars:
pkg: "{{ hyprland_qt_support_pkg_dep }}"
ansible.builtin.include_tasks:
file: "pkgs/{{ hyprland_qt_support_pkg_dep }}.yml"
- name: Append hyprland_qt_support pkg_deps
loop: "{{ hyprland_qt_support.pkg_deps }}"
loop_control:
loop_var: hyprland_qt_support_pkg_dep
vars:
pkg: "{{ hyprland_qt_support_pkg_dep }}"
ansible.builtin.include_tasks:
file: "pkgs/{{ hyprland_qt_support_pkg_dep }}.yml"
- name: Append hyprland_qt_support build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_qt_support.build_deps }}"
- name: Append hyprland_qt_support build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_qt_support.build_deps }}"
- name: Append hyprland_qt_support to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprland_qt_support'] }}"
- name: Set hyprland_qt_support_configured
ansible.builtin.set_fact:
hyprland_qt_support_configured: true
- name: Append hyprland_qt_support to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprland_qt_support'] }}"