Skip to content

Commit

Permalink
[veos_vtb] Add connection variable to 'sonic' group (#2639)
Browse files Browse the repository at this point in the history
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 <lolv@microsoft.com>
  • Loading branch information
lolyu committed Dec 15, 2020
1 parent 3c24f4d commit c86b445
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/veos_vtb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c86b445

Please sign in to comment.