From 8b317e77c29bb27292a3b1719b213a2c440c76c4 Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Wed, 23 May 2018 17:19:50 +0530 Subject: [PATCH] fix nxos_system test (#40599) Signed-off-by: Trishna Guha --- .../targets/nxos_system/tests/common/set_hostname.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/nxos_system/tests/common/set_hostname.yaml b/test/integration/targets/nxos_system/tests/common/set_hostname.yaml index 6d491b1ff2..9ff1840da4 100644 --- a/test/integration/targets/nxos_system/tests/common/set_hostname.yaml +++ b/test/integration/targets/nxos_system/tests/common/set_hostname.yaml @@ -6,7 +6,7 @@ - block: - name: setup nxos_config: - lines: "hostname {{ inventory_hostname }}" + lines: "hostname {{ inventory_hostname_short }}" match: none - name: configure hostname @@ -30,7 +30,7 @@ always: - name: teardown nxos_config: - lines: "hostname {{ inventory_hostname }}" + lines: "hostname {{ inventory_hostname_short }}" match: none