system/roles/network/tasks/wireless.yaml
Marty Oehme afac310f21
ref(roles): All roles use desired package state
By setting the `desired_package_state` variable we can change if ansible
should only ensure that the packages exist on the system (`present`) or
that they are also updated to their latest version (`latest`).
2025-03-13 11:24:14 +01:00

13 lines
288 B
YAML

---
- name: Install iwd
community.general.xbps:
name:
- iwd
state: "{{ desired_package_state | default('present') }}"
- name: Activate wireless networking service
ansible.builtin.file:
src: "/etc/sv/iwd"
dest: "/etc/runit/runsvdir/default/iwd"
state: link