Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set new_certs variable #192

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 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 All @@ -184,6 +183,7 @@
nomad_version: "{{ nomad_input_version | default('1.7.3') }}"
consul_version: "{{ consul_input_version | default('1.17.1') }}"
roles_dir: /opt/ai4-ansible/
new_certs: "{{ nomad_input_dc | default('ifca-ai4eosc') }}-certs"

- name: Download consul + nomad certs
get_url:
Expand Down
1 change: 1 addition & 0 deletions artifacts/lrms/nomad_ai4eosc_wn_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@

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

Check warning on line 165 in artifacts/lrms/nomad_ai4eosc_wn_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: "{{ client_private_ip }}"
username: cloudadm
Expand All @@ -174,6 +174,7 @@
nomad_version: "{{ nomad_input_version | default('1.7.3') }}"
consul_version: "{{ consul_input_version | default('1.17.1') }}"
roles_dir: /opt/ai4-ansible/
new_certs: "{{ nomad_input_dc | default('ifca-ai4eosc') }}-certs"

- name: Download consul + nomad certs
get_url:
Expand Down