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