From 9875fb343c2dc39a2b284527b5de0c7c8ce5c29b Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Wed, 31 Jul 2024 20:24:01 +0200 Subject: [PATCH] Move check-unavailable.yaml template to scripts subfolder --- home-assistant.yml | 4 ++-- templates/{ => scripts}/check-unavailable.yaml.j2 | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename templates/{ => scripts}/check-unavailable.yaml.j2 (100%) 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