How about hashing their hostnames, or using something else unique but constant about them (last octet of their IP, maybe)?
On 14 December 2014 at 19:14, iprok <[email protected]> wrote: > Hello! > > I want to add back up task of my databases to cron. I don't want them to > start at the same time. And I have too much hosts to initialize each of them > using variables. But if I use random filter it becomes unidempotent. Is it > any way how to do what I want keeping idempotency? > > Thank you. > > -- > 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/5e307694-510f-4ece-b877-8788ecf153a8%40googlegroups.com. > 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 [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/CAK5eLPSZ0m73WCTvohFFOJwOq%3DjOCDRR-M6p02ny0xZkbeNjJg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
