Hi,
I need a list with the ip address of play_hosts. This template worked with 1.6.5, but it does not work with 1.9.3. I would appreciate any help, what could be wrong.
Hi,
I need a list with the ip address of play_hosts. This template worked with 1.6.5, but it does not work with 1.9.3. I would appreciate any help, what could be wrong.
I think list is now a filter so perhaps try without the () on the end of list
Not sure you can have {{ }} inside other {{ }} so maybe needs breaking into two parts, set_fact to get the list of regex replaced play hosts and then looking up the address from hostvars as a second step.
Hope that helps.
Jon