Contents of a Variable as a Variable in a playbook

10 views
Skip to first unread message

Pr0fess0rM

unread,
May 19, 2016, 1:23:36 PM5/19/16
to Ansible Project
Hi, I'm having trouble implementing this. Basically, variable basket contains the string 'apple' and I have already created a variable called apple that contains string 'seed'. How do I use seed by referencing basket? 

I attempted using {{ {{basket}} }} which I thought would be the equivalent of {{apple}} but that's giving me a template error. Any other ideas? Perhaps the {{ {{basket}} }} method is correct but implemented incorrectly? Any and all help is appreciated!
Reply all
Reply to author
Forward
0 new messages