From 50e161f8dcced6ff8e36972a6df02e07b30fefdb Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Sat, 11 Dec 2021 16:44:27 -0500 Subject: [PATCH] Add 5min timeout to swarm join operation --- skylab/core/roles/swarm/tasks/join.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/skylab/core/roles/swarm/tasks/join.yaml b/skylab/core/roles/swarm/tasks/join.yaml index f4cfa8c..219ef31 100644 --- a/skylab/core/roles/swarm/tasks/join.yaml +++ b/skylab/core/roles/swarm/tasks/join.yaml @@ -29,6 +29,7 @@ listen_addr: "{{ lookup('vars', 'ansible_' + skylab_cluster.interface.internal).ipv4.address }}" remote_addrs: "{{ _docker_swarm_manager_addresses }}" join_token: "{{ _docker_swarm_join_token.stdout.strip() }}" + timeout: 300 - name: Fetch node swarm ID ansible.builtin.command: