homeassistant: Add support for zigbee dongle
This commit is contained in:
parent
8c66c9a6a0
commit
a4660f69cf
5 changed files with 19 additions and 1 deletions
|
@ -55,6 +55,20 @@
|
|||
setype: container_file_t
|
||||
when: ansible_selinux_python_present
|
||||
|
||||
- name: Allow podman to use devices
|
||||
ansible.posix.seboolean:
|
||||
name: container_use_devices
|
||||
state: true
|
||||
persistent: true
|
||||
|
||||
- name: Allow ha to connect specific devices
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/udev/rules.d/99-homeassistant.rules
|
||||
src: 99-homeassistant.rules
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: Create config directory
|
||||
ansible.builtin.file:
|
||||
path: /export/homeassistant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue