# \#docker-swarm

**URL:** https://forum.ansible.com/tag/docker-swarm/388.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [Debian 12 upgrade python3-docker for docker\_swarm\_module](https://forum.ansible.com/t/debian-12-upgrade-python3-docker-for-docker-swarm-module/43989)

<div class="topic-metadata">

**Author:** [@romgo](https://forum.ansible.com/u/romgo)\
**Replies:** 2\
**Last updated:** [July 22, 2025, 3:55pm UTC](https://forum.ansible.com/t/debian-12-upgrade-python3-docker-for-docker-swarm-module/43989 "2025-07-22T15:55:18Z")

</div>

Hello, I am writing an ansible role to manage & create a docker swarm cluster. The target servers are debian 12. Using the reference page : community.docker.docker\_swarm module – Manage Swarm cluster — Ansible Communi…

---

## [\[community.docker.docker\_stack\] How to use variables in inline compose definition?](https://forum.ansible.com/t/community-docker-docker-stack-how-to-use-variables-in-inline-compose-definition/10998)

<div class="topic-metadata">

**Author:** [@FSeidinger](https://forum.ansible.com/u/FSeidinger)\
**Replies:** 1\
**Last updated:** [November 19, 2024, 12:25pm UTC](https://forum.ansible.com/t/community-docker-docker-stack-how-to-use-variables-in-inline-compose-definition/10998 "2024-11-19T12:25:31Z")

</div>

I want to use the docker\_config and the docker\_stack module to update a swarm configuration used by a service. The playbook first creates a new version of the swarm configuration with the docker\_config module and then t…

---

## [\[community.docker.docker\_node\] Setting labels does not run on manager node](https://forum.ansible.com/t/community-docker-docker-node-setting-labels-does-not-run-on-manager-node/10656)

<div class="topic-metadata">

**Author:** [@FSeidinger](https://forum.ansible.com/u/FSeidinger)\
**Replies:** 6\
**Last updated:** [November 5, 2024, 7:55pm UTC](https://forum.ansible.com/t/community-docker-docker-node-setting-labels-does-not-run-on-manager-node/10656 "2024-11-05T19:55:26Z")

</div>

I am using ansible community.docker modules to manage a docker swarm cluster. So far the initialization of manager and worker nodes does work great. Now I try to label nodes in the cluster and use the community.docker.d…
