Hi
I would like to create a list with this dict
{ "v3bf33-srv01": "eu-west0-a", "v3bf33-srv02": "eu-west0-a",
"v3bf33-srv03": "eu-west0-a", "v3bf33-srv04": "eu-west0-b", "v3bf33-srv05":
"eu-west0-b", "v3bf33-srv06": "eu-west0-b", "v3bf33-srv07": "eu-west0-c",
"v3bf33-srv08": "eu-west0-c", "v3bf33-srv09": "eu-west0-c" }
if a user ask 5 servers ( in a pipeline), cycle through servers of each
value:
eu-west0-a,
eu-west0-b,
eu-west0-c,
then again , eu-west0-a, eu-west0-b, eu-west0-c .... until reach number of
server need
The result should be a list containing only the server name.
E.g.:
- v3bf33-srv01 #eu-west0-a - v3bf33-srv04 #eu-west0-b - v3bf33-srv07
#eu-west0-c - v3bf33-srv02 #eu-west0-a - v3bf33-srv05 #eu-west0-b
any help is welcome. ^^
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/0a850eb6-f7ce-48e9-bfcf-2796b978c9d4n%40googlegroups.com.