diff --git a/home-assistant.yml b/home-assistant.yml index 5c7ac6b..a0de8f7 100644 --- a/home-assistant.yml +++ b/home-assistant.yml @@ -124,14 +124,14 @@ - name: Build unavailable script delegate_to: localhost template: - src: check-unavailable.yaml.j2 + src: 'scripts/check-unavailable.yaml.j2' dest: './scripts/check-unavailable.yaml' vars: entities: "{{ availability }}" - name: Build alarm script delegate_to: localhost template: - src: scripts/alarm.yaml.j2 + src: 'scripts/alarm.yaml.j2' dest: './scripts/alarm.yaml' - name: Concat scripts ansible.builtin.assemble: diff --git a/templates/check-unavailable.yaml.j2 b/templates/scripts/check-unavailable.yaml.j2 similarity index 100% rename from templates/check-unavailable.yaml.j2 rename to templates/scripts/check-unavailable.yaml.j2