Skip to content

Commit

Permalink
[ansible/docker] Add i2c and SPI GID to template
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Nov 25, 2023
1 parent 4791b53 commit d33b517
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/roles/ovos_installer/templates/docker/env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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 }}
Expand Down

0 comments on commit d33b517

Please sign in to comment.