- name: Build unavailable script delegate_to: localhost template: src: 'check-unavailable.yaml.j2' dest: './build/scripts/check-unavailable.yaml' vars: entities: "{{ availability }}" - name: Build alarm script delegate_to: localhost template: src: 'alarm.yaml.j2' dest: './build/scripts/alarm.yaml' - name: Build plants script delegate_to: localhost template: src: 'water-plants-check.yaml.j2' dest: './build/scripts/water-plants-check.yaml'