Skip to content

Commit

Permalink
Merge pull request #193 from grycap/add_local_servers
Browse files Browse the repository at this point in the history
Set local servers in join recipe
  • Loading branch information
micafer authored Oct 2, 2024
2 parents bb19e03 + 13a4856 commit 582c5f8
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 582c5f8

Please sign in to comment.