nxos_command and nxos_config fix (#29940)

* fix nxos_command nxapi test output

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 9dee5c65ce)

* nxos_config CI fix

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 8810a7e584)
pull/29947/head
Trishna Guha 7 years ago committed by Toshio Kuratomi
parent 8fd3ce0fec
commit 7d982f9225

@ -41,8 +41,9 @@
- name: "Run show running-config bgp - should pass"
nxos_command:
commands:
- sh running-config bgp
commands:
- command: sh running-config bgp
output: text
provider: "{{ nxapi }}"
register: result

@ -5,7 +5,7 @@
nxos_config:
lines:
- "snmp-server contact ansible"
- "hostname {{ inventory_hostname_short }}"
- "hostname switch"
provider: "{{ cli }}"
match: none
@ -37,7 +37,7 @@
nxos_config:
lines:
- "no snmp-server contact"
- "hostname {{ inventory_hostname_short }}"
- "hostname switch"
provider: "{{ cli }}"
match: none

@ -5,7 +5,7 @@
nxos_config:
lines:
- "snmp-server contact ansible"
- "hostname {{ inventory_hostname_short }}"
- "hostname switch"
provider: "{{ cli }}"
match: none
@ -37,7 +37,7 @@
nxos_config:
lines:
- "no snmp-server contact"
- "hostname {{ inventory_hostname_short }}"
- "hostname switch"
provider: "{{ cli }}"
match: none

@ -5,7 +5,7 @@
nxos_config:
lines:
- "snmp-server contact ansible"
- "hostname {{ inventory_hostname_short }}"
- "hostname switch"
provider: "{{ nxapi }}"
match: none
@ -37,7 +37,7 @@
nxos_config:
lines:
- "no snmp-server contact ansible"
- "hostname {{ inventory_hostname_short }}"
- "hostname switch"
provider: "{{ nxapi }}"
match: none

@ -5,7 +5,7 @@
nxos_config:
lines:
- "snmp-server contact ansible"
- "hostname {{ inventory_hostname_short }}"
- "hostname switch"
provider: "{{ nxapi }}"
match: none
@ -37,7 +37,7 @@
nxos_config:
lines:
- "no snmp-server contact ansible"
- "hostname {{ inventory_hostname_short }}"
- "hostname switch"
provider: "{{ nxapi }}"
match: none

Loading…
Cancel
Save