Hello, In a callback plugin, I did parameter the filename to dipatch log files by host and ansible pid this way: filename = '%s_%s' % (host,os.getpid())
I would like to add the name of the playbook that is run, in example if I run the command: ansible-playbook test.yml, I would like to create this logfile: test_*host_pid* in what structure and variable can I get the playbook name ? Regards -- 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/e358a946-7ecb-4528-aa59-21674a5bf2fa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
