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 hyprpicker
when:
- hyprpicker_configured is undefined
block:
- name: Load hyprpicker config
ansible.builtin.include_tasks:
file: config/hyprpicker.yml
- name: Load hyprpicker config
ansible.builtin.include_tasks:
file: config/hyprpicker.yml
- name: Append hyprpicker pkg_deps
loop: "{{ hyprpicker.pkg_deps }}"
loop_control:
loop_var: hyprpicker_pkg_dep
vars:
pkg: "{{ hyprpicker_pkg_dep }}"
ansible.builtin.include_tasks:
file: "pkgs/{{ hyprpicker_pkg_dep }}.yml"
- name: Append hyprpicker pkg_deps
loop: "{{ hyprpicker.pkg_deps }}"
loop_control:
loop_var: hyprpicker_pkg_dep
vars:
pkg: "{{ hyprpicker_pkg_dep }}"
ansible.builtin.include_tasks:
file: "pkgs/{{ hyprpicker_pkg_dep }}.yml"
- name: Append hyprpicker build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprpicker.build_deps }}"
- name: Append hyprpicker build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprpicker.build_deps }}"
- name: Append hyprpicker to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprpicker'] }}"
- name: Set hyprpicker_configured
ansible.builtin.set_fact:
hyprpicker_configured: true
- name: Append hyprpicker to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprpicker'] }}"