diff --git a/test/integration/targets/nxos_system/tests/common/set_hostname.yaml b/test/integration/targets/nxos_system/tests/common/set_hostname.yaml index 9ff1840da4b..9509d60b57e 100644 --- a/test/integration/targets/nxos_system/tests/common/set_hostname.yaml +++ b/test/integration/targets/nxos_system/tests/common/set_hostname.yaml @@ -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 diff --git a/test/integration/targets/nxos_system/tests/nxapi/net_system.yaml b/test/integration/targets/nxos_system/tests/nxapi/net_system.yaml index 06bd8609a4d..e7810f7fc53 100644 --- a/test/integration/targets/nxos_system/tests/nxapi/net_system.yaml +++ b/test/integration/targets/nxos_system/tests/nxapi/net_system.yaml @@ -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.