The |bool seems to prevent the |default to kick in

Change-Id: Ie97f07ac1112b9e79686b2c38bd6dd428c24686d
This commit is contained in:
Cédric Jeanneret 2019-03-18 06:59:51 +01:00
parent 679b96f2d0
commit 53273fa2d1
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@
gather_facts: false
roles:
- {role: validate-tempest, when: run_tempest|bool}
- {role: validate-services, when: validate_services|bool|default(false)}
- {role: validate-services, when: validate_services|default(false)|bool}
tags:
- standalone

View File

@ -18,4 +18,4 @@
roles:
- {role: validate-simple, when: test_ping|bool}
- {role: validate-tempest, when: run_tempest|bool}
- {role: validate-services, when: validate_services|bool|default(false)}
- {role: validate-services, when: validate_services|default(false)|bool}

View File

@ -45,4 +45,4 @@
- undercloud-validate
gather_facts: false
roles:
- {role: validate-services, when: validate_services|bool|default(false)}
- {role: validate-services, when: validate_services|default(false)|bool}