Hi,

If you want include task in your playbook, you must only do it :

*- include_task: /my_path/.../.../my_file_externe.yml*

This answer answers your question ?

Thanks

Le mercredi 13 février 2019 17:46:48 UTC+1, DM a écrit :
>
> Thanks I do have the "---" at the top
> When I run t he ansible-playbook how do get all that info to write to a 
> file?
> It only shows up on  the cli which I know I can copy and paste to a file, 
> but would like to output to a file
>
> Thanks
>
>
>
> On Wednesday, February 13, 2019 at 8:45:06 AM UTC-5, DM wrote:
>>
>> How do you write to a file the output of a yaml?
>>
>> If possible, how do you only write to a file specific info if?
>>
>> Thanks
>>
>>

-- 
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/e3568429-5e57-4f6d-993e-33aad1330940%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to