diff --git a/ansible/config_sonic_basedon_testbed.yml b/ansible/config_sonic_basedon_testbed.yml index ddd49ff9c71..b6d3d4a4621 100644 --- a/ansible/config_sonic_basedon_testbed.yml +++ b/ansible/config_sonic_basedon_testbed.yml @@ -56,7 +56,7 @@ connection: local - set_fact: - VM_topo: "True" + VM_topo: "{% if 'ptf' in topo %}False{% else %}True{% endif %}" remote_dut: "{{ ansible_ssh_host }}" - name: gather testbed VM informations