1
0
Fork 0

Use homeassistant_become and homeassistant_become_user

This commit is contained in:
Daniele Tricoli 2021-05-28 16:51:42 +02:00
parent 3ba7cdf851
commit 132ccd9f1f
1 changed files with 4 additions and 0 deletions

View File

@ -2,8 +2,12 @@
- name: systemctl daemon-reload
systemd:
daemon_reload: true
become: "{{ homeassistant_become }}"
become_user: "{{ homeassistant_become_user }}"
- name: systemctl restart homeassistant
systemd:
name: homeassistant.service
state: restarted
become: "{{ homeassistant_become }}"
become_user: "{{ homeassistant_become_user }}"