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 6c252dba185..902452c1697 100644 --- a/test/integration/targets/nxos_system/tests/common/set_hostname.yaml +++ b/test/integration/targets/nxos_system/tests/common/set_hostname.yaml @@ -29,7 +29,7 @@ - name: teardown nxos_config: - lines: "hostname {{ inventory_hostname }}" + lines: hostname switch match: none provider: "{{ connection }}"