Hi,

I want to have a counter (incrementation) in "with_items" in order to look 
over a list (index).

  ec2_metric_alarm:

...
    description: '{{ item.ec2_alarm_description }}'
    dimensions: '{{item.ec2_alarm_dimensions }}'
    alarm_actions: '{{ ec2_scaling_policy_reg.results[*0*].arn }}'
  with_items: '{{ ec2_metric_alarm_item }}'

Any suggestion?

thanks




-- 
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/5f140311-07c9-4999-8a56-810f8a0c71ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to