Dec 5, 2019 in DevOps
Q: How to execute some errand (or) play on localhost

1 Answer

0 votes
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.


name: ” Elasticsearch Hitting”

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

register: yield

Click here to read more about DevOps
Click here to read more about Insurance