mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 16:06:43 +00:00
nxos_system test fix inventory_hostname_short (#36359)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user