Fwd: Re: [ansible-project] separate logfile per target

2023-07-02 Thread dulhaver via Ansible Project
thx, that's what I was looking for. > On 06/30/2023 6:14 PM CEST Abhijeet Kasurde wrote: > > > Please check the tree callback plugins - > https://docs.ansible.com/ansible/latest/collections/ansible/builtin/tree_callback.html > This callback plugin logs on per-host basis. > > ``` > [defa

Re: [ansible-project] separate logfile per target

2023-06-30 Thread dulhaver via Ansible Project
hi, > On 06/30/2023 9:19 AM CEST Thanh Nguyen Duc wrote: > > You may create a log file with hostname, in my case i will create a log file > with name: {{inventory_hostname}}_log.xx then pull them back. > that's what I want. Good to hear that you are doing that. Can you share how that practic

Re: [ansible-project] separate logfile per target

2023-06-30 Thread Thanh Nguyen Duc
You may create a log file with hostname, in my case i will create a log file with name: {{inventory_hostname}}_log.xx then pull them back. Vào Th 6, 30 thg 6, 2023 vào lúc 14:54 dulhaver via Ansible Project < ansible-project@googlegroups.com> đã viết: > we where wondering whether there is a me

[ansible-project] separate logfile per target

2023-06-29 Thread dulhaver via Ansible Project
we where wondering whether there is a method to generate logfiles per remote target on playbook executions? In other words ... one runs a playbook on 50 targets and gets 50 logfiles (1 per target) out of it. I guess another way to separate things a litte in the logs would be to use serial: 1