Add 5min timeout to swarm join operation

This commit is contained in:
Ethan Paul 2021-12-11 16:44:27 -05:00
parent 3001e19c7e
commit 50e161f8dc
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A

View File

@ -29,6 +29,7 @@
listen_addr: "{{ lookup('vars', 'ansible_' + skylab_cluster.interface.internal).ipv4.address }}" listen_addr: "{{ lookup('vars', 'ansible_' + skylab_cluster.interface.internal).ipv4.address }}"
remote_addrs: "{{ _docker_swarm_manager_addresses }}" remote_addrs: "{{ _docker_swarm_manager_addresses }}"
join_token: "{{ _docker_swarm_join_token.stdout.strip() }}" join_token: "{{ _docker_swarm_join_token.stdout.strip() }}"
timeout: 300
- name: Fetch node swarm ID - name: Fetch node swarm ID
ansible.builtin.command: ansible.builtin.command: