AWS terraform automation scripts
[csit.git] / resources / tools / testbed-setup / ansible / templates / topology_azure.j2
index ef8b22e..ae0ae52 100644 (file)
@@ -10,7 +10,7 @@ nodes:
   TG:
     type: TG
     subtype: TREX
-    host: "{{ ansible_default_ipv4.address }}"
+    host: "{{ tg_public_ip }}"
     arch: x86_64
     port: 22
     username: testuser
@@ -30,7 +30,7 @@ nodes:
         model: azure-mlx-40g
   DUT1:
     type: DUT
-    host: "{{ ansible_default_ipv4.address }}"
+    host: "{{ dut1_public_ip }}"
     arch: x86_64
     port: 22
     username: testuser
@@ -56,7 +56,7 @@ nodes:
         model: azure-mlx-40g
   DUT2:
     type: DUT
-    host: "{{ ansible_default_ipv4.address }}"
+    host: "{{ dut2_public_ip }}"
     arch: x86_64
     port: 22
     username: testuser