summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/nxos_system
diff options
context:
space:
mode:
authorTrishna Guha <trishnaguha17@gmail.com>2018-02-18 06:02:44 +0100
committerGitHub <noreply@github.com>2018-02-18 06:02:44 +0100
commita5654bd63c725c05f72235650bcd8dfecc861508 (patch)
treedca8c26feeccb1fea0cf98f8a268f066eeec2a0d /test/integration/targets/nxos_system
parentFix bug in DigitalOcean module_util (#36352) (diff)
downloadansible-a5654bd63c725c05f72235650bcd8dfecc861508.tar.xz
ansible-a5654bd63c725c05f72235650bcd8dfecc861508.zip
nxos_system test fix inventory_hostname_short (#36359)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
Diffstat (limited to 'test/integration/targets/nxos_system')
-rw-r--r--test/integration/targets/nxos_system/tests/common/set_hostname.yaml4
1 files 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 a5b8d021fc..12f0e05c63 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 }}"