Need help in appending multiple values in excel cell - ansible

55 views
Skip to first unread message

kumare...@gmail.com

unread,
Dec 29, 2022, 1:37:59 AM12/29/22
to Ansible Project
Hi All,

We are registering output of some commands and need to store output in excel format.The challenge is to append multiple values in excel cell.Could someone help here?

Regards
Kumar

Lee Thomas Stephen

unread,
Jan 3, 2023, 5:01:00 AM1/3/23
to ansible...@googlegroups.com

--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/745025e8-017b-4586-aa97-5d7b3157a246n%40googlegroups.com.

Brian Coca

unread,
Jan 5, 2023, 11:51:46 AM1/5/23
to ansible...@googlegroups.com
concatenate within the , ?

{{ var1 ~ var2}}, {{var3}, {{var4}} ...

though i would just do it all in one go:

{{ ','|join([ var1 ~var2, var3, var4 ...]) }}


--
----------
Brian Coca

Reply all
Reply to author
Forward
0 new messages