Hello, I'm currently building some servers in AWS. A set of servers will need a sequence of keys generated for each server like so, with a template that get's pushed out.
# server 1 9011 9012 9013 # server 2 9021 9022 9023 # server 3 9031 9032 9033 If my inventory is dynamic, what is a good Ansible-ish way of handling this? I know I can do a "with_sequence: start=1 end=3", but that same 'with' statement does the same thing on all 3 servers. I normally would use a host_var, but since the inventory is dynamic, I can't do that. At least I don't think I can. Any ideas? Thanks, Jay -- 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/c4361ba7-5c89-4e28-8f84-cd7d7cc886f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
