Okay, just getting back to this. I have this in my site.yaml file in group_vars:
rwdc_server: '{{groups.rwdcs|random}}' but it appears that the rwdc_server variable gets a different domain controller from the group each time it's accessed (sometimes it's the same one, but not always). I need the value to be consistent so I can run a series of commands on the same box. Is this possible? I'd rather not pin it to a single box (with e.g. {{groups.rwdcs[0]}}), for basic load balancing & HA... -- 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/92ca658f-d19c-4e3b-aa94-694ebf83b456%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.