debugging; try removing/simplifying these tasks and conditionals

This commit is contained in:
Lee Goolsbee
2024-03-27 15:14:40 -05:00
parent 47589f03a9
commit a050987e3c
2 changed files with 8 additions and 21 deletions

View File

@@ -25,7 +25,7 @@
when:
- bitbucket_cluster_available
- mesh_nodes_report.json | community.general.json_query(query) | length == 0
- (mesh_node_id is defined) and (mesh_node_id|length > 0)
- (mesh_node_id is defined) and (mesh_node_id | length > 0)
vars:
query: "[?name=='{{ mesh_node_name }}']"
@@ -40,7 +40,7 @@
when:
- bitbucket_cluster_available
- mesh_nodes_report.json | community.general.json_query(query) | length == 0
- (mesh_node_id is not defined) or (mesh_node_id|length == 0)
- (mesh_node_id is not defined) or (mesh_node_id | length == 0)
vars:
query: "[?name=='{{ mesh_node_name }}']"
@@ -53,6 +53,6 @@
when:
- bitbucket_cluster_available
- mesh_nodes_report.json | community.general.json_query(query) | length == 0
- (mesh_node_id is not defined) or (mesh_node_id|length == 0)
- (mesh_node_id is not defined) or (mesh_node_id | length == 0)
vars:
query: "[?id=='{{ mesh_node_id }}']"