removed bool check
Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
This commit is contained in:
@@ -1,30 +1,22 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Add hyprland
|
||||
when:
|
||||
- hyprland_configured is undefined
|
||||
block:
|
||||
- name: Load hyprland config
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/hyprland.yml
|
||||
- name: Load hyprland config
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/hyprland.yml
|
||||
|
||||
- name: Append hyprland pkg_deps
|
||||
loop: "{{ hyprland.pkg_deps }}"
|
||||
loop_control:
|
||||
loop_var: hyprland_pkg_dep
|
||||
vars:
|
||||
pkg: "{{ hyprland_pkg_dep }}"
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/{{ hyprland_pkg_dep }}.yml"
|
||||
- name: Append hyprland pkg_deps
|
||||
loop: "{{ hyprland.pkg_deps }}"
|
||||
loop_control:
|
||||
loop_var: hyprland_pkg_dep
|
||||
vars:
|
||||
pkg: "{{ hyprland_pkg_dep }}"
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/{{ hyprland_pkg_dep }}.yml"
|
||||
|
||||
- name: Append hyprland build_deps to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + hyprland.build_deps }}"
|
||||
- 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
|
||||
- name: Append hyprland to pkg_src
|
||||
ansible.builtin.set_fact:
|
||||
pkg_src: "{{ pkg_src + ['hyprland'] }}"
|
||||
|
||||
Reference in New Issue
Block a user