# vim: set filetype=yaml.ansible : --- - name: Add hyprland-protocols when: - hyprland_protcols_configured is undefined block: - 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'] }}" - name: Set hyprland_protcols_configured ansible.builtin.set_fact: hyprland_protcols_configured: true