Files
ansible_role_package/tasks/pkgs/hyprland_protocols.yml
2025-03-03 12:15:05 -07:00

21 lines
622 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Add hyprland-protocols
when:
- hyprland_protcols_configured is undefined
block:
- name: Set hyprland_protcols_configured
ansible.builtin.set_fact:
hyprland_protcols_configured: true
- name: Load hyprland-protocols config
when:
- hyprland_protocols is undefined
ansible.builtin.include_tasks:
file: config/hyprland_protocols.yml
- name: Append to pkg lists
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_protocols.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprland_protocols'] }}"