-
-
Save jameswhite/1b2a80c4f7d56a15d28bd688e69bfee7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| homeassistant: | |
| pip.installed: | |
| - bin_env: '/usr/bin/pip3' | |
| python3-pip: | |
| pkg.installed | |
| cython3: | |
| pkg.installed | |
| libudev-dev: | |
| pkg.installed | |
| python3-sphinx: | |
| pkg.installed | |
| python3-setuptools: | |
| pkg.installed | |
| homeassistant-user: | |
| group.present: | |
| - name: hass | |
| user.present: | |
| - name: hass | |
| - system: true | |
| - createhome: true | |
| - groups: | |
| - hass | |
| - dialout | |
| - require: | |
| - group: hass | |
| homeassistant-service-file: | |
| file.managed: | |
| - name: /etc/systemd/system/homeassistant.service | |
| - mode: 0444 | |
| - source: salt://homeassistant/files/homeassistant.service | |
| - template: jinja | |
| homeassistant-configuration-dir: | |
| file.directory: | |
| - name: /etc/homeassistant | |
| - user: hass | |
| - group: hass | |
| homeassistant-configuration: | |
| file.managed: | |
| - name: /etc/homeassistant/configuration.yaml | |
| - source: salt://homeassistant/files/configuration.yaml | |
| - user: hass | |
| - dir_mode: 0755 | |
| - file_mode: 0640 | |
| - template: jinja | |
| homeassistant-service: | |
| service.running: | |
| - name: homeassistant | |
| - enable: True | |
| - reload: True | |
| - require: | |
| - file: /etc/systemd/system/homeassistant.service | |
| - watch: | |
| - file: /etc/homeassistant/configuration.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment