Ouch, absolutely should have.

There's a flag "required_together" in the argument spec that can be used
for this.

Can you please file a ticket in GitHub so we can take care of this one?

Random killing of nodes is definitely not something we wish to encourage!
 Sometimes nodes deserve it though, but not this time.

--Michael




On Fri, Aug 8, 2014 at 9:51 AM, casimir Jeanjean <casimir.jj...@gmail.com>
wrote:

> Hi everyone,
> In one of my plays, in a EC2 action, I used the "exact_count" parameter
> and forgot to specify "count_tag". Ansible tried to kill one of my EC2
> machines randomly (fortunately it had API termination disabled).
> In such case, as exact_count and count_tag are dependent of each other
> (according to the doc), shouldn't the task have failed and told me
> "count_tag" was missing ? Or are there any use cases for exact_count alone ?
> Thank you in advance.
> --
> Casimir
>
> --
> 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/f68f0449-f61f-43e2-9892-29fef7c66fa5%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f68f0449-f61f-43e2-9892-29fef7c66fa5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgzzhhXg3skQf%3DCTOFz7PtSK1hAoW3Z3ttLGx%3DUTGsnC2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to