Merge "Add on-error task to parse_node_data_lookup"

This commit is contained in:
Zuul 2018-10-03 19:30:25 +00:00 committed by Gerrit Code Review
commit 3e61f4f08c
1 changed files with 2 additions and 0 deletions

View File

@ -124,6 +124,8 @@ workflows:
parse_node_data_lookup:
publish:
json_node_data_lookup: <% json_parse($.node_data_lookup) %>
on-error:
- fail(msg=<% 'Ceph deployment stopped, NodeDataLookup (node_data_lookup) is not valid JSON. {0}'.format($.node_data_lookup) %>)
on-success: map_node_data_lookup
map_node_data_lookup:
publish: