From 591e0ffb69d42215d89ab62697c3df1cdd1a9fb2 Mon Sep 17 00:00:00 2001 From: Chris Van Heuveln Date: Mon, 11 Mar 2019 08:36:25 -0400 Subject: [PATCH] nxos_user: auth.yaml test: stronger test password needed (#53533) Basic passwords are rejected by the nxos device unless `no password strength-check` is configured. This change just makes the password meet the minimum strength checks. --- test/integration/targets/nxos_user/tests/common/auth.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/nxos_user/tests/common/auth.yaml b/test/integration/targets/nxos_user/tests/common/auth.yaml index f4670958fcf..6fb9ec5f352 100644 --- a/test/integration/targets/nxos_user/tests/common/auth.yaml +++ b/test/integration/targets/nxos_user/tests/common/auth.yaml @@ -6,13 +6,13 @@ role: network-operator provider: "{{ connection }}" state: present - configured_password: pass123 + configured_password: pasS!123 - name: test login expect: command: "ssh auth_user@{{ ansible_ssh_host }} -p {{ ansible_ssh_port|default(22) }} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PubkeyAuthentication=no show version" responses: - (?i)password: "pass123" + (?i)password: "pasS!123" - name: test login with invalid password (should fail) expect: