linkedin
  • Become a Seller

Is there any way to call Python Script from Ansible Playbook and Pass the Output to Ansible Playbook again for next Task?

Abhinav . Jun 26, 2023

A:

One way to do that is by getting the output with register and storing it in a local file. Then make the python script read the file. Take this information and store it into a variable.

Jun 26, 2023

Was this helpful? upvote icon 0 downvote icon 0
img

Did not find the question you are looking for?

Get fast answers from real users and our software experts

menlaptop

Have a Question in Mind?

Get answers directly from verified users and our software experts

20,000+ Software Listed 20,000+ Software Listed

Best Price Guaranteed Best Price Guaranteed

Free Expert
                        Consultation Free Expert Consultation

2M+ Happy Customers 2M+ Happy Customers