Hi, I have a bash command of:

ansible beta -m template -a 'src=../templates/www.conf.j2 
dest=/root/www.conf '

I need to specify a variable on the command line. 

I tried specifying it in the -a string, but got an error that template only 
accepts certain variables. 

IF the template was in a playbook I could provide the variable(s) using 
-e.  How can I do this from the command line invocation? 

Thanks, 
Ed 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4a257396-eaa3-4043-a11b-b1c411524383n%40googlegroups.com.

Reply via email to