Hi everyone I installed the latest ansible version by: pip install git+git://github.com/ansible/ansible.git@devel
My ansible version is: ansible 2.4.0. I am implementing the callback to send some updates for each task, and I need to construct the task name as playbook:play:task, I have a playbook /tmp/A.yml that includes another playbook /tmp/B.yml, B has one playB with three tasks, so when construct name of tasks in B, I need to put B:playB:task1. I was trying to get the file name of B by using play._included_path when it calls playB, but it returns "*/tmp/" only*. Should it return "*/tmp/B.yml"*? I checked the source code of playbook_include.py, when it loads playbook B, it should fill up the file_name of the B. Could anyone please help me with this issue? Thanks Best regards Leilei -- 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/dc1a8c56-5062-4982-84ee-16a1a939c846%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
