homassistant: use python virtualenv
authorKristof Provost <kp@FreeBSD.org>
Sun, 16 Jun 2024 18:26:36 +0000 (20:26 +0200)
committerKristof Provost <kp@FreeBSD.org>
Sun, 16 Jun 2024 18:26:36 +0000 (20:26 +0200)
ansible/homeassistant.yaml

index 680fdf4..ea4f27a 100644 (file)
@@ -32,6 +32,7 @@
         name: "{{ item }}"
         extra_args: "--upgrade"
         virtualenv: "/home/domotica/ha/"
+        virtualenv_site_packages: true
       with_items:
         - colorlog
       become: true
@@ -40,6 +41,7 @@
         name: homeassistant
         version: "2024.3.3"
         virtualenv: "/home/domotica/ha/"
+        virtualenv_site_packages: true
       become: true
     - name: install homeassistant startup script
       template: