[ansible-devel] Exposing the Arista eos session for config validation

2020-01-17 Thread Sean M. Collins
Is there a way to get a handle for the session that Ansible uses, when connecting to Arista switches to run commands? I am trying to build some config validation/testing into a continuous integration pipeline with Batfish. Batfish (https://www.batfish.org/) however expects a full configuration fil

Re: [ansible-devel] custom module is failing with MODULE FAILURE\nSee stdout/stderr for the exact error" rc:0

2020-01-17 Thread Brian Coca
because ansible expects a single JSON document as a response on STDOUT of the module .. if you do print statements .. you are probably breaking that requirement, hence the error. -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible De

[ansible-devel] Ansible Module newrelic_deployment Feature Request

2020-01-17 Thread Garry Taylor
Hello, I need guidance on how to request a feature request for a module called newrelic_deplyment. i have submitted this but it has been rejected. Feature Idea COMPONENT NAME UI SUMMARY New feature for existing Ansibile Module called newrelic_deployment https://docs.ansible.com/ansible/latest/m

Re: [ansible-devel] custom module is failing with MODULE FAILURE\nSee stdout/stderr for the exact error" rc:0

2020-01-17 Thread Tejas Gadaria
Hi John, Apologies for the late reply, I had figured that out, and you rightly mentioned I had few print statement in the module, that was causing the problem. Observation: I am using python3.6. Custom module had couple of print statement with f-string, and few print statement are normal (print s