homeassistant: Add support for zigbee dongle

This commit is contained in:
Timo Makinen 2023-12-05 17:15:16 +00:00
parent 8c66c9a6a0
commit a4660f69cf
5 changed files with 19 additions and 1 deletions

View file

@ -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