fix broken packages
- standardize naming of each pkg append - move _configured vars to end of block
This commit is contained in:
@@ -4,19 +4,18 @@
|
||||
when:
|
||||
- hyprwayland_scanner_configured is undefined
|
||||
block:
|
||||
- name: Set hyprwayland_scanner_configured
|
||||
ansible.builtin.set_fact:
|
||||
hyprwayland_scanner_configured: true
|
||||
|
||||
- name: Load hyprwayland-scanner config
|
||||
when:
|
||||
- hyprwayland_scanner is undefined
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/hyprwayland_scanner.yml
|
||||
|
||||
- name: Append to pkg_sys and pkg_src
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user