In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start 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 Alumni (Retired)

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