mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
415 B
YAML
19 lines
415 B
YAML
6 years ago
|
- hosts: testhost
|
||
|
gather_facts: false
|
||
|
vars:
|
||
|
boolean_var: false
|
||
|
nested:
|
||
|
bool_var: false
|
||
|
tasks:
|
||
|
- name: Run tasks with previous warnings requesting the bool filter on type boolean vars
|
||
|
block:
|
||
|
- debug:
|
||
|
when: boolean_var
|
||
|
- debug:
|
||
|
when: nested.bool_var
|
||
|
- debug:
|
||
|
when: double_interpolated
|
||
|
vars:
|
||
|
double_interpolated: "{{ other }}"
|
||
|
other: false
|