Saltstack Official Home Assistant Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

map.jinja 426B

8 years ago
8 years ago
7 years ago
8 years ago
8 years ago
7 years ago
8 years ago
123456789101112131415161718
  1. {%- set source_engine = salt['pillar.get']('home_assistant:server:source:engine') %}
  2. {%- load_yaml as base_defaults %}
  3. Debian:
  4. pkgs:
  5. - python3-dev
  6. - python3-pip
  7. bind:
  8. address: 0.0.0.0
  9. port: 8123
  10. dir:
  11. base: /srv/home_assistant
  12. config:
  13. engine: local
  14. user: home_assistant
  15. {%- endload %}
  16. {%- set server = salt['grains.filter_by'](base_defaults, merge=salt['pillar.get']('home_assistant:server')) %}