Hi, When i run my playbook i run into this issue. It pops us as Warning.
*[WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option* *for the task to something else to avoid variable collisions and unexpected behavior.* *main.yml* - include: groups.yml groups.yml - include: ec2_gr.yml ec2_gr.yml - name: 'ec2 groups' ec2_group: name: '{{ item.key }}' description: '{{ item.value.description }}' vpc_id: '{{ vpc_net_facts.id }}' region: '{{ region }}' rules: '{{ item.value.rules }}' rules_egress: '{{ default_egress_rule if item.value.rules_egress is not defined else item.value.rules_egress }}' when: ec2groups is defined with_dict: '{{ ec2groups | default({}) }}' register: tag_ec2groups - set_fact: group: '{{ ec2groups.keys() + group }}' when: ec2groups is defined I see a warning on above line. I have such issue with a lot of tasks. I don't understand loop_control that well. I tried to provide that variable after register: but still running into issue. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/14dc7ba5-8f43-424f-a110-718c559432f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.