Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

creating an ansible inventory

codyfawcett
6 - Meteoroid

I am trying to create an ansible inventory file like below

 

[prjoect]
node1
node2
[project2]
node3
node4
node5
[project3]
node6
node7
node8

 

 

 

I have the workflow and it is outputting as expected

 

Screen Shot 2019-08-28 at 1.31.16 PM.png

 

I am trying to get this to output as it is seen here.

each entry on its own line, in a txt file.

 

I have tried outputting as a csv and flat file

but the formatting is a single line for EVERYTHING.

 

does anyone have any advice/ideas on how to output as needed?

2 REPLIES 2
ScottE
Alteryx
Alteryx

Hi @codyfawcett 

 

Did you try putting \n in the delimiter field of your output tool?

 

clipboard_image_0.png

codyfawcett
6 - Meteoroid

that was it.  I can't believe I didn't think of that.

 

Thanks!

Labels
Top Solution Authors