Only execute UI validations when UI is enabled

One can disable the UI, and the validation will fail if it's not there.

Change-Id: I7a3e317705c95e3ca368eacb376d88c426f72d54
This commit is contained in:
Juan Antonio Osorio Robles 2017-12-01 10:31:20 +02:00
parent a2668a3277
commit 126ecf535a
1 changed files with 1 additions and 1 deletions

View File

@ -23,4 +23,4 @@
- tripleoui-validate
gather_facts: yes
roles:
- { role: validate-ui, when: validate_ui_simple|bool }
- { role: validate-ui, when: validate_ui_simple|bool and undercloud_enable_ui|default(true)|bool }