From 32e997f1f7208ca15359c287246171de6aeff004 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sat, 20 May 2023 15:18:54 +0200 Subject: [PATCH] Compatibility with ansible 7 --- tasks/swarm_mgr.yml | 2 +- tasks/swarm_node.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/swarm_mgr.yml b/tasks/swarm_mgr.yml index b078e40..c8d7c5a 100644 --- a/tasks/swarm_mgr.yml +++ b/tasks/swarm_mgr.yml @@ -18,7 +18,7 @@ - block: - name: Get swarm status information - docker_swarm: + community.docker.docker_swarm_info: state: inspect register: swarm_info_data diff --git a/tasks/swarm_node.yml b/tasks/swarm_node.yml index 332f599..d511fed 100644 --- a/tasks/swarm_node.yml +++ b/tasks/swarm_node.yml @@ -8,8 +8,7 @@ - block: - name: Get swarm status information - docker_swarm: - state: inspect + community.docker.docker_swarm_info: register: swarm_info_data - name: Get the swarm worker node token