Closed oxyc closed 7 years ago
Haven't been tested enough. What do you think about this pattern rather than having 14 set_fact tasks?
Edit I found this technique documented here http://docs.ansible.com/ansible/faq.html#how-do-i-access-a-variable-name-programmatically
Tested it locally and it fixes the issue. :tada:
Slightly ugly... but it does the trick, nice use of 'poor man's private vars' and a dict :)
Haven't been tested enough. What do you think about this pattern rather than having 14 set_fact tasks?
Edit I found this technique documented here http://docs.ansible.com/ansible/faq.html#how-do-i-access-a-variable-name-programmatically