nesting dictionary vars in vars

Hey so I am trying to loop through a dictionary list of servers I want to create, and want to evaluate some variables based on the iteration I am on. I am not sure if I has a syntax error or I am trying something not supported by ansible, or if it’s caused by the dictionary not being evaluated at that point yet:

`

Colin,

The logic and code looks good to me. Maybe there is a spelling or similar simple error. Can you post everything? Also, can you get more specific with the error (i.e. what iteration it’s failing on).

Hey, sorry for the poor response time. It ended up being on the ‘production’ iteration that failed, which makes sense. The code works when I add values for production, so its all good. Thanks for checking it over though. Gave me confidence in debugging it. -C