summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-no-jinja-when-pass.yml
blob: b9d02f587f454557f0d0f64ee4d06bf7342c07d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- name: Test fixture for no-jinja-when
  hosts: all
  tasks:
    - name: Test when
      ansible.builtin.debug:
        msg: text
      when: true
    - name: Test when 2
      ansible.builtin.debug:
        msg: text2
      when: 1 = 1
    - name: Three
      ansible.builtin.debug:
        msg: text2
      when:
        - "false"