Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
183 views
in Technique[技术] by (71.8m points)

How to use callback plugin environment parameter with ansible.cfg?

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...