I'm trying to concatenate registered variable from a previous task , external 
variable with a string ( ex: -stringhere) in a task.

I'm not getting the syntax to do it.

I tried below and it didn't work.

Command : echo {{ item.0 + "-" item.1 +"-stringhere"
With_items:
   - "{{ thevar.stdout }}
    - "{{ external var }}"

Please help with the syntax to do this.

-- 
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/02b3f0be-855d-49d8-a4a2-540161fcd4bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to