From a5654bd63c725c05f72235650bcd8dfecc861508 Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Sun, 18 Feb 2018 10:32:44 +0530 Subject: [PATCH] nxos_system test fix inventory_hostname_short (#36359) 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 a5b8d021fc6..12f0e05c636 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 provider: "{{ connection }}" @@ -33,7 +33,7 @@ always: - name: teardown nxos_config: - lines: "hostname {{ inventory_hostname }}" + lines: "hostname {{ inventory_hostname_short }}" match: none provider: "{{ connection }}"