Thought the task below would create 1 instance with the count_tag "demo", 
only if there wasn't one running, but it's creating a new instance every 
time.
Am I using exact_count incorrectly?

- name: spin up ec2 instance
  ec2:
    count_tag: demo
    exact_count: 1
    image: ami-60b6c60a
    region: us-east-1
    type: t2.nano
    wait: yes

Using ansible 2.0.0.2 and boto 2.39.0

-- 
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/0f7cbebd-9f04-4406-b78a-802458ec9e87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to