# Automating Upgrades for Agents/Clients

**URL:** <https://discuss.elastic.co/t/automating-upgrades-for-agents-clients/224183>\
**Category:** Elasticsearch\
**Created:** [March 18, 2020, 7:55pm UTC](https://discuss.elastic.co/t/automating-upgrades-for-agents-clients/224183 "2020-03-18T19:55:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bberesna](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@bberesna](https://discuss.elastic.co/u/bberesna)\
**Post date:** [March 18, 2020, 7:55pm UTC](https://discuss.elastic.co/t/automating-upgrades-for-agents-clients/224183/1 "2020-03-18T19:55:03Z")

</div>

I'm just wondering if there is some way to query for all attached agents. I'd like to generate a list of agents/servers for ansible so I can upgrade them all to their latest version.

Or if someone has a better solution to accomplish this that would be great too. I have 70+ clients I have to upgrade.

Thanks in advance,  
Bill

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 15, 2020, 7:58pm UTC](https://discuss.elastic.co/t/automating-upgrades-for-agents-clients/224183/2 "2020-04-15T19:58:10Z")

</div>

Closed on April 15, 2020, 7:58pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
