feat(base): Set up iwd wireless service
This commit is contained in:
parent
7fe5d085fd
commit
d4d0a68e63
2 changed files with 20 additions and 1 deletions
|
|
@ -132,6 +132,25 @@
|
|||
with_items: [chronyd]
|
||||
listen: installed-chrony
|
||||
|
||||
- name: Set up wireless networking
|
||||
hosts: target_system
|
||||
become: true
|
||||
tags:
|
||||
- wireless
|
||||
- iwd
|
||||
tasks:
|
||||
- name: Install iwd
|
||||
community.general.xbps:
|
||||
name:
|
||||
- iwd
|
||||
state: present
|
||||
|
||||
- name: Activate wireless networking service
|
||||
ansible.builtin.file:
|
||||
src: "/etc/sv/iwd"
|
||||
dest: "/etc/runit/runsvdir/default/iwd"
|
||||
state: link
|
||||
|
||||
- name: Set up snapper backups
|
||||
hosts: target_system
|
||||
become: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue