# vim: set filetype=yaml.ansible : --- - name: Add hyprwayland-scanner when: - hyprwayland_scanner_configured is undefined block: - name: Load hyprwayland-scanner config ansible.builtin.include_tasks: file: config/hyprwayland_scanner.yml - name: Append hyprwayland-scanner build_deps to pkg_sys ansible.builtin.set_fact: pkg_sys: "{{ pkg_sys + hyprwayland_scanner.build_deps }}" - name: Append hyprwayland-scanner to pkg_src ansible.builtin.set_fact: pkg_src: "{{ pkg_src + ['hyprwayland_scanner'] }}" - name: Set hyprwayland_scanner_configured ansible.builtin.set_fact: hyprwayland_scanner_configured: true