From 3cf4a04d8566bb405a84aa12312aa7df29587530 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 25 Feb 2016 17:38:17 +0100 Subject: [PATCH] Remove deprecation warnings from Ansible 2.0.1.0 --- tasks/ec2/inithost.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/ec2/inithost.yml b/tasks/ec2/inithost.yml index 48e5fa6..46ea5fb 100644 --- a/tasks/ec2/inithost.yml +++ b/tasks/ec2/inithost.yml @@ -31,7 +31,7 @@ hostname="{{ host }}" static_ipv4="{{ item.public_ip }}" groups="{{ initgroups }}" - with_items: ec2.instances + with_items: '{{ ec2.instances }}' - name: "Waiting for SSH service becoming available" wait_for: @@ -40,4 +40,4 @@ delay=10 timeout=120 state=present - with_items: ec2.instances + with_items: '{{ ec2.instances }}' -- GitLab