But the "with_lines" command can be run at the remote host? Em segunda-feira, 3 de julho de 2017 13:28:35 UTC-3, Kai Stian Olstad escreveu: > > On 03. juli 2017 13:44, Danilo Braga wrote: > > What I need now, is a form way to open the file 'output.log', read it > line > > by line and run the command "shutdown" at the remote host. > > To read a file line by line you can use "with_lines: cat output.log" > > -- > Kai Stian Olstad >
-- 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/ac9547fe-4632-447b-b155-6a18dea25e69%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
