diff --git a/tasks/swarm_node.yml b/tasks/swarm_node.yml index 511931a..332f599 100644 --- a/tasks/swarm_node.yml +++ b/tasks/swarm_node.yml @@ -18,7 +18,7 @@ cacheable: True when: docker_swarm_node | bool - delegate_to: '{{ docker_swarm_manager_main_node_hostname }}' + delegate_to: '{{ docker_swarm_manager_main_node_address }}' tags: [ 'docker', 'docker_swarm' ] - block: