1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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:
- name: setup
nxos_config:
lines: "hostname {{ inventory_hostname_short }}"
lines: "hostname switch"
match: none
- name: configure hostname
@ -30,7 +30,7 @@
always:
- name: teardown
nxos_config:
lines: "hostname {{ inventory_hostname_short }}"
lines: "hostname switch"
match: none

View file

@ -1,6 +1,5 @@
---
- 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
# implementation module and module run is successful.