Hi Max,

You say that you are using --extra-vars in jenkins to pass variables to 
ansible, I have been trying to do that, but the execute shell adds extra 
quotes around my --extra-vars and so the ansible-plabyook is unable to read 
the correct value of the variables defined. How did you get around this ?

If you could share the way you are using it in your case it would be a 
great help.

Regards,
Naween

On Tuesday, April 22, 2014 6:52:36 PM UTC+5:30, Max Romanovsky wrote:
>
> Consider the following situation.
> It is necessary to execute arbitrary commands during deployment.
> Deployment is done using parameterized job in Jenkins CI. Multiline 
> parameter contains commands separated by newline.
> Jenkins passes this parameter to Ansible using --extra-vars.
> Is it possible to split this parameter by line separator on Ansible side 
> and pass this array to with_items?
>
> Thanks in advance.
>

-- 
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/aec085b7-f153-4101-a0bf-4cc70b4acb51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to