From bd3e666dad368672c0256cb97eff9248950df368 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 22 Jun 2016 19:12:16 +0000 Subject: [PATCH] Now public ip can be a list Signed-off-by: Patrick Uiterwijk --- tasks/transient_cloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/transient_cloud.yml b/tasks/transient_cloud.yml index c133d864bc..4c6ce57106 100644 --- a/tasks/transient_cloud.yml +++ b/tasks/transient_cloud.yml @@ -22,7 +22,7 @@ register: nova_result - name: add it to the special group - local_action: add_host hostname="{{ nova_result.public_ip }}" groupname=tmp_just_created + local_action: add_host hostname="{{ nova_result.public_ip[0] }}" groupname=tmp_just_created - name: mail off about where it is local_action: mail