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.
ansible/test/integration/targets/vars_files/validate.yml

12 lines
213 B
YAML

- assert:
that:
- common is true
- assert:
that:
- is_bar is true
when: inventory_hostname == 'testhost'
- assert:
that:
- is_bar is false
when: inventory_hostname == 'testhost2'