fix nxos_system test (#40643)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2018-05-24 12:00:04 +05:30 committed by GitHub
parent 3e2a4ee8ba
commit 3fd9c46828
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,7 @@
- block: - block:
- name: setup - name: setup
nxos_config: nxos_config:
lines: "hostname {{ inventory_hostname_short }}" lines: "hostname switch"
match: none match: none
- name: configure hostname - name: configure hostname
@ -30,7 +30,7 @@
always: always:
- name: teardown - name: teardown
nxos_config: nxos_config:
lines: "hostname {{ inventory_hostname_short }}" lines: "hostname switch"
match: none match: none

View file

@ -1,6 +1,5 @@
--- ---
- debug: msg="START nxos nxapi/net_system.yaml on connection={{ ansible_connection }}" - debug: msg="START nxos nxapi/net_system.yaml on connection={{ ansible_connection }}"
- debug: msg="Using provider={{ connection.transport }}"
# Add minimal testcase to check args are passed correctly to # Add minimal testcase to check args are passed correctly to
# implementation module and module run is successful. # implementation module and module run is successful.