I am very newbie for Ansible.
I am writing some playbooks for automation and require to generate some reports with in junit format to integrate with https://reportportal.io/.
Query-1
So 1st I have tried to generate some Junit reports using callback plugin junit. Plugin generates the file for me but while I am trying to modify the path using ansible.cfg file it not working. So where and how I need to add environment variable for the Junit plugin.
Query-2
I want to write some plugin that can sync the result to the Report-portal for the pass or fail result with each task stack trace result.
What is the preferred way to achieve this scenario using ansible.
question from:
https://stackoverflow.com/questions/65918784/how-to-use-callback-plugin-environment-parameter-with-ansible-cfg 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…