diff --git a/tasks/swarm_mgr.yml b/tasks/swarm_mgr.yml index 2028409..45cc759 100644 --- a/tasks/swarm_mgr.yml +++ b/tasks/swarm_mgr.yml @@ -26,9 +26,9 @@ register: swarm_info_data - name: swarm_mgr | Get the swarm manager token - set_fact: + ansible.builtin.set_fact: docker_swarm_mgr_token: '{{ swarm_info_data.swarm_facts.JoinTokens.Manager }}' - cacheable: true + cacheable: true - block: - name: Add some manager nodes to the docker swarm cluster