summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/transform-no-jinja-when.transformed.yml
blob: da93ec52a6dec6cd98296c74ffe6b161a940baf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
- name: One
  hosts: all
  tasks:
    - name: Test when with jinja2 # noqa: jinja[spacing]
      ansible.builtin.debug:
        msg: text
      when: "false"

- name: Two
  hosts: all
  roles:
    - role: hello
      when: "'1' = '1'"

- name: Three
  hosts: all
  roles:
    - role: hello
      when:
        - "'1' = '1'"