From 13a485623c80b7fe8d95f5f00e9bf81cbc3a80a5 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Wed, 2 Oct 2024 11:34:40 +0200 Subject: [PATCH] Set local servers in join recipe --- artifacts/lrms/nomad_ai4eosc_fe_install.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/artifacts/lrms/nomad_ai4eosc_fe_install.yml b/artifacts/lrms/nomad_ai4eosc_fe_install.yml index 816aa07..b7977c0 100644 --- a/artifacts/lrms/nomad_ai4eosc_fe_install.yml +++ b/artifacts/lrms/nomad_ai4eosc_fe_install.yml @@ -161,12 +161,11 @@ - name: Set facts set_fact: - consul_servers_ip: "{{ server_list}}" - when: consul_join == '' + consul_servers_ip: "{{ server_list }}" - name: Set facts set_fact: - consul_servers_ip: "{{ [ consul_join ] }}" + consul_servers_ip: "{{ consul_servers_ip + [ consul_join ] }}" when: consul_join != '' - name: Set facts