blob: 22eaafeb519ae34beac06fbf3c4da38a67df1e7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
- name: Test that schema allows multiline-jinja
hosts: localhost
# https://github.com/ansible/ansible-lint/issues/2772
become: >-
{{
true
}}
tasks:
- name: Test more complex jinja is also allowed
ansible.builtin.debug:
msg: "{{ item }}"
# that below is valid and show be allowed:
with_items: >-
{%- set ns = [1, 1, 2] -%}
{{- ns | unique -}}
|