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

1 Answer

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


Related questions

+1 vote
asked May 11, 2021 in Linux by rajeshsharma
0 votes
asked Feb 13 in OWASP Top 10 Vulnerabilities by SakshiSharma
0 votes
asked Jul 9 in ElasticSearch by sharadyadav1986