Categories

Dec 5, 2019 in DevOps

Q: How to execute some errand (or) play on localhost

1 Answer

Dec 5, 2019
In ansible, there is a module called delegate_to, in this module area give the specific host (or) has where your errands (or) assignment should be run.

undertakings:

name: ” Elasticsearch Hitting”

uri: url=’_search?q=status:new’ headers='{“Content-type”:”application/json”}’ method=GET return_content=yes

register: yield

delegate_to: 127.0.0.1
Click here to read more about DevOps
Click here to read more about Insurance

Related questions

Madanswer
Aug 8 in DevOps
Aug 8 in DevOps
Oct 21, 2019 in Gradle
...