1
0
Fork 0

Enable systemd unit in same step where we start it

This commit is contained in:
Daniele Tricoli 2021-05-28 20:25:07 +02:00
parent 02bf2c3513
commit 998dd554da
1 changed files with 2 additions and 6 deletions

View File

@ -74,15 +74,11 @@
notify:
- systemctl daemon-reload
- name: systemctl enable homeassistant
systemd:
name: homeassistant
enabled: true
- name: ensure homeassistant is running
- name: ensure homeassistant is enabled and started
systemd:
name: homeassistant
state: started
enabled: true
- name: Wait for port 8123
wait_for: