updated tasks so they are only run once
This commit is contained in:
@@ -1,4 +1,20 @@
|
||||
- name: Append to pkg lists
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + hyprland_protocols.build_deps }}"
|
||||
pkg_src: "{{ pkg_src + ['hyprland_protocols'] }}"
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user