Skip to content

Commit

Permalink
Set local servers in join recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Oct 2, 2024
1 parent bb19e03 commit 13a4856
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions artifacts/lrms/nomad_ai4eosc_fe_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] }}"

Check warning on line 168 in artifacts/lrms/nomad_ai4eosc_fe_install.yml

View workflow job for this annotation

GitHub Actions / test-artifacts

jinja[spacing]

Jinja2 spacing could be improved: {{ consul_servers_ip + [ consul_join ] }} -> {{ consul_servers_ip + \[consul_join] }}
when: consul_join != ''

- name: Set facts
Expand Down

0 comments on commit 13a4856

Please sign in to comment.