Skip to content

Commit

Permalink
Add my_public_ip
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer authored Jul 9, 2024
1 parent a28e837 commit 8ae5025
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions artifacts/lrms/nomad_ai4eosc_fe_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
vars:
server_list: "{{ nomad_server_list | default([ansible_default_ipv4.address]) }}"
server_private_ip: "{{ IM_NODE_PRIVATE_IP | default(ansible_default_ipv4.address) }}"
server_public_ip: "{{ IM_NODE_PUBLIC_IP | default('') }}"
launch_traefik: "{{ nomad_launch_traefik | default(false) }}"
nvidia_support: false
certs_url: "{{ consul_cert_url | default('') }}"
Expand Down Expand Up @@ -163,6 +164,7 @@
consul_public_ip: "{{ server_list[0] }}"

Check warning on line 164 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_join ] }} -> {{ \[consul_join] }}
consul_servers_ip: "{{ [ consul_join ] }}"
my_ip: "{{ server_private_ip }}"
my_public_ip: "{{ server_public_ip }}"
username: cloudadm
path: /opt/cloudadm/
nomad_dc: "{{ nomad_input_dc | default('ifca-ai4eosc') }}"
Expand Down

0 comments on commit 8ae5025

Please sign in to comment.