Skip to content

Commit

Permalink
Merge pull request #166 from grycap/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
micafer authored Jul 9, 2024
2 parents ea7c4b3 + deb9c1e commit 19fb43e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 13 deletions.
11 changes: 10 additions & 1 deletion artifacts/lrms/nomad_ai4eosc_fe_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,17 @@

- name: Set facts
set_fact:
consul_public_ip: "{{ server_list[0] }}"
consul_servers_ip: "{{ server_list}}"

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: {{ server_list}} -> {{ server_list }}
when: consul_join == ''

- name: Set facts
set_fact:
consul_servers_ip: "{{ [ consul_join ] }}"

Check warning on line 169 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] }}
when: consul_join != ''

- name: Set facts
set_fact:
consul_public_ip: "{{ server_list[0] }}"
my_ip: "{{ server_private_ip }}"
my_public_ip: "{{ server_public_ip }}"
username: cloudadm
Expand Down
18 changes: 12 additions & 6 deletions templates/nomad_ai4eosc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ topology_template:
port_4646:
protocol: tcp
source: 4646
port_4647:
protocol: tcp
source: 4647
port_4648:
protocol: tcp
source: 4648
port_4648u:
protocol: udp
source: 4648
port_8501:
protocol: tcp
source: 8501
Expand All @@ -184,12 +193,9 @@ topology_template:
port_8302:
protocol: tcp
source: 8302
port_80:
protocol: tcp
source: 80
port_443:
protocol: tcp
source: 443
port_8302u:
protocol: udp
source: 8302
requirements:
- host: front
interfaces:
Expand Down
24 changes: 18 additions & 6 deletions templates/nomad_ai4eosc_join.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,18 +188,30 @@ topology_template:
port_4646:
protocol: tcp
source: 4646
port_4647:
protocol: tcp
source: 4647
port_4648:
protocol: tcp
source: 4648
port_4648u:
protocol: udp
source: 4648
port_8501:
protocol: tcp
source: 8501
port_8302:
port_8300:
protocol: tcp
source: 8302
port_80:
source: 8300
port_8301:
protocol: tcp
source: 80
port_443:
source: 8301
port_8302:
protocol: tcp
source: 443
source: 8302
port_8302u:
protocol: udp
source: 8302
requirements:
- host: front
interfaces:
Expand Down

0 comments on commit 19fb43e

Please sign in to comment.