add hyprpolkit

This commit is contained in:
Matthew Stobbs
2025-03-03 16:15:11 -07:00
parent ea9e524cf9
commit 198c1f80fe
5 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# vim: set filetype=yaml.ansible :
---
- name: Add hyprpolkitagent
when:
- hyprpolkitagent_configured is undefined
block:
- name: Set hyprpolkitagent_configured
ansible.builtin.set_fact:
hyprpolkitagent_configured: true
- name: Load hyprpolkitagent config
when:
- hyprpolkitagent is undefined
ansible.builtin.include_tasks:
file: config/hyprpolkitagent.yml
- name: Append to pkg_src
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprpolkitagent.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprpolkitagent'] }}"