On 17 July 2014 11:29, John Wang <[email protected]> wrote: > I felt that. Then is there a way to define variable which can be used in > the position of the mentioned "var1" in foo.yml ? Is the command line > options (i.e., -e) is the only way ?
I believe so yes. Not sure if there's a way to use a var from var: of vars_files: section, but maybe if set in a previous play. -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEhzMJCeYJcE3MNUGtiyPx%2BdgpZ4RNFJGd42c2NWAXPT5NQk0w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
