Merge "Add the default filter so the validations have default fallback"

This commit is contained in:
Zuul 2022-08-25 17:38:48 +00:00 committed by Gerrit Code Review
commit 0b613c2c8a
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
block:
- name: Set fact for extra args.
set_fact:
execution_extra_args: "{{ name.value.negative_results.extra_args }}"
execution_extra_args: "{{ name.value.negative_results.extra_args | default('') }}"
when:
- "'negative_results' in name.value "
- negative | default(False) | bool