+1 vote
in DevOps by
How to execute some errand (or) play on localhost

1 Answer

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

Related questions

+1 vote
asked Sep 26, 2019 in Salesforce by Robin
0 votes
asked Jun 29, 2022 in Bitbucket by sharadyadav1986
...