Skip to content

Commit

Permalink
Merge pull request #46 from ai4os/fix_test
Browse files Browse the repository at this point in the history
Fix test
  • Loading branch information
micafer authored Oct 29, 2024
2 parents d96223d + d7f1c98 commit a7883cd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/nomad/molecule/cluster/consul.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
consul_public_ip: "{{ hostvars['ifca-ai4os-server-0']['ansible_default_ipv4']['address'] }}"
consul_servers_ip: "{{ groups['consul_servers']|map('extract', hostvars, ['ansible_default_ipv4', 'address'])|list }}"
my_ip: "{{ ansible_default_ipv4.address }}"
primary_datacenter: "ifca-ai4os"
1 change: 1 addition & 0 deletions tests/nomad/molecule/cluster/consul_new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
consul_public_ip: "{{ hostvars['ifca-ai4os-new-server-0']['ansible_default_ipv4']['address'] }}"
consul_servers_ip: "{{ groups['consul_servers']|map('extract', hostvars, ['ansible_default_ipv4', 'address'])|list }}"
my_ip: "{{ ansible_default_ipv4.address }}"
primary_datacenter: "ifca-ai4os"
3 changes: 2 additions & 1 deletion tests/nomad/molecule/cluster/nomad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
- imagine
- tutorials
consul_servers_ip: "{{ groups['consul_servers']|map('extract', hostvars, ['ansible_default_ipv4', 'address'])|list }}"
my_ip: "{{ ansible_default_ipv4.address }}"
my_ip: "{{ ansible_default_ipv4.address }}"
primary_datacenter: "ifca-ai4os"
1 change: 1 addition & 0 deletions tests/nomad/molecule/cluster/nomad_new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
consul_servers_ip: "{{ groups['consul_servers']|map('extract', hostvars, ['ansible_default_ipv4', 'address'])|list }}"
my_ip: "{{ ansible_default_ipv4.address }}"
consul_dc_name: "ifca-ai4os-new"
primary_datacenter: "ifca-ai4os"

0 comments on commit a7883cd

Please sign in to comment.