diff --git a/ansible/roles/ovos_installer/templates/docker/env.j2 b/ansible/roles/ovos_installer/templates/docker/env.j2 index 28f2d3a..f827054 100644 --- a/ansible/roles/ovos_installer/templates/docker/env.j2 +++ b/ansible/roles/ovos_installer/templates/docker/env.j2 @@ -10,6 +10,9 @@ HIVEMIND_CONFIG_FOLDER={{ ovos_installer_user_home }}/hivemind/config HIVEMIND_SHARE_FOLDER={{ ovos_installer_user_home }}/hivemind/share HIVEMIND_USER=hivemind {% endif %} +{% if 'i2c' in getent_group %} +I2C_GID={{ getent_group['i2c'][1] }} +{% endif %} {% if 'input' in getent_group %} INPUT_GID={{ getent_group['input'][1] }} {% endif %} @@ -20,6 +23,9 @@ PULL_POLICY={{ ovos_installer_docker_pull_policy }} {% if 'render' in getent_group %} RENDER_GID={{ getent_group['render'][1] }} {% endif %} +{% if 'spi' in getent_group %} +SPI_GID={{ getent_group['spi'][1] }} +{% endif %} TMP_FOLDER={{ ovos_installer_user_home }}/ovos/tmp {% if _ovos_installer_timezone is defined %} TZ={{ _ovos_installer_timezone.stdout }}