Hi, You must create file with extension .yml and beginning this file with "---" at the top. It's simply.
And launch file with line command "ansible-playbook my_file.yml" This answer answers your question ? Thanks Le mercredi 13 février 2019 14:45:06 UTC+1, DM a écrit : > > 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/abf9f222-d5fe-4239-8f42-db0197c78d0c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
