diff --git a/cloud/ec2_elb b/cloud/ec2_elb index 7588cd234a9..23c04c774c1 100644 --- a/cloud/ec2_elb +++ b/cloud/ec2_elb @@ -86,8 +86,9 @@ post_tasks: local_action: ec2_elb args: instance_id: "{{ ansible_ec2_instance_id }}" - ec2_elbs: "{{ ec2_elbs }}" + ec2_elbs: "{{ item }}" state: 'present' + with_items: ec2_elbs """ import time