I am trying to understand the sample code here about ELB register/deregister instances:
http://docs.ansible.com/ec2_elb_module.html - name: Instance De-register local_action: module: ec2_elb instance_id: "{{ ansible_ec2_instance_id }}" state: 'absent' - name: Instance Register local_action: module: ec2_elb instance_id: "{{ ansible_ec2_instance_id }}" ec2_elbs: "{{ item }}" state: 'present' with_items: ec2_elbs So what's going with ec2_elbs: "{{ item }}" What is "item"? What is with_items: ec2_elbs? What does ec2_elbs? I am trying to debug this by printing ec2_elbs, but it doesn't seem that it allows me to use debug with local_action. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c98b35fc-4bc7-4d7b-ac9a-77f2c8e3ff83%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
