From 3e46da36548eea0e76413b5f5eb4d0b2efc5940b Mon Sep 17 00:00:00 2001 From: Longxiang Lyu Date: Wed, 9 Dec 2020 07:11:09 +0000 Subject: [PATCH] [veos_vtb] Add connection variable to 'sonic' group By default, Ansible will search for group variables from the directory where inventory file locates. For vtestbed Pytest users who calls Pytest with `tests/veos_vtb`, Ansible fails to find the groups variables defined under `ansible/group_vars`, thus fail to use `multi_passwd_ss`. So let's add those connection variables directly to `veos_vtb` Signed-off-by: Longxiang Lyu --- ansible/veos_vtb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/veos_vtb b/ansible/veos_vtb index dd4f6ccc64..be33f9f379 100644 --- a/ansible/veos_vtb +++ b/ansible/veos_vtb @@ -54,6 +54,8 @@ all: sonic: vars: mgmt_subnet_mask_length: 24 + ansible_connection: multi_passwd_ssh + ansible_altpassword: YourPaSsWoRd hosts: vlab-01: ansible_host: 10.250.0.101