From c94168fb30cd0f38c5e07e17b3080f4285393afb Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 17 Oct 2022 22:49:20 +0200 Subject: [PATCH] Comment-in connection-check todo: change check to http --- netmaker_server/tasks/rqlite.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/netmaker_server/tasks/rqlite.yml b/netmaker_server/tasks/rqlite.yml index 465202b..182804a 100644 --- a/netmaker_server/tasks/rqlite.yml +++ b/netmaker_server/tasks/rqlite.yml @@ -9,12 +9,12 @@ failed_when: command.rc != 0 when: "inventory_hostname == groups['netmaker_server'][0]" -- name: Waiting for rqlite to accept connections on 1st-node - ansible.builtin.wait_for: - host: "{{ inventory_hostname }}" - port: 4001 - state: started - when: "inventory_hostname == groups['netmaker_server'][0]" +# - name: Waiting for rqlite to accept connections on 1st-node +# ansible.builtin.wait_for: +# host: "{{ inventory_hostname }}" +# port: 4001 +# state: started +# when: "inventory_hostname == groups['netmaker_server'][0]" - name: Start rqlite service for other nodes command: "docker-compose --project-directory /opt/netmaker_server/ up -d rqlite" @@ -22,9 +22,9 @@ failed_when: command.rc != 0 when: "inventory_hostname != groups['netmaker_server'][0]" -- name: Waiting for rqlite to accept connections on other nodes - ansible.builtin.wait_for: - host: "{{ inventory_hostname }}" - port: 4001 - state: started - when: "inventory_hostname != groups['netmaker_server'][0]" +# - name: Waiting for rqlite to accept connections on other nodes +# ansible.builtin.wait_for: +# host: "{{ inventory_hostname }}" +# port: 4001 +# state: started +# when: "inventory_hostname != groups['netmaker_server'][0]"