AWS deregister ec2 instance from ELB

Hello,

I am new to Ansible and I couldn’t figure out what is wrong with my ansible playbook.
I simply want to list all instances associated with specific elastic load balancers and then de-register them all.

Can you please take a look at it and tell me what am I doing wrong?

`

Hi Cann,

What’s the error message?

Cheers