infra/roles/hass-core/handlers/main.yml

21 lines
407 B
YAML

---
- name: restart hass container
include_tasks: restart.yml
- name: hass check config
import_tasks: config_check_cmd.yml
- name: hass health_check
import_tasks: health_check.yml
- name: git-hass-config.sh
command: /usr/local/bin/git-hass-config.sh
become_user: "{{ systemuserlist.hass.username }}"
when: false
- name: restart bluetooth
service:
name: bluetooth
state: restarted