From 68c22fad5ed0e4edcae4fec475b9c70714f379a5 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 5 Mar 2019 22:54:43 +0100 Subject: [PATCH] Fix return variable name. --- test/integration/targets/docker_node/tasks/test_node.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/targets/docker_node/tasks/test_node.yml b/test/integration/targets/docker_node/tasks/test_node.yml index ff844f4c7e..c362fc3767 100644 --- a/test/integration/targets/docker_node/tasks/test_node.yml +++ b/test/integration/targets/docker_node/tasks/test_node.yml @@ -36,12 +36,12 @@ - name: assert reading docker swarm node facts assert: that: - - 'output.nodes_facts | length > 0' - - 'output.nodes_facts[0].ID is string' + - 'output.nodes | length > 0' + - 'output.nodes[0].ID is string' - name: Register node ID set_fact: - nodeid: "{{ output.nodes_facts[0].ID }}" + nodeid: "{{ output.nodes[0].ID }}" #################################################################### ## Set node as swarm manager #######################################