nxos_system test fix inventory_hostname_short (#36359) (#36360)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit a5654bd63c)
pull/36391/head
Trishna Guha 8 years ago committed by GitHub
parent f5fa91c152
commit 22b4d69a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@
- block: - block:
- name: setup - name: setup
nxos_config: nxos_config:
lines: "hostname {{ inventory_hostname }}" lines: "hostname {{ inventory_hostname_short }}"
match: none match: none
provider: "{{ connection }}" provider: "{{ connection }}"
@ -33,7 +33,7 @@
always: always:
- name: teardown - name: teardown
nxos_config: nxos_config:
lines: "hostname {{ inventory_hostname }}" lines: "hostname {{ inventory_hostname_short }}"
match: none match: none
provider: "{{ connection }}" provider: "{{ connection }}"

Loading…
Cancel
Save