diff --git a/test/integration/targets/junos_facts/tests/netconf/facts.yaml b/test/integration/targets/junos_facts/tests/netconf/facts.yaml index c315167bdf..15391c1d8c 100644 --- a/test/integration/targets/junos_facts/tests/netconf/facts.yaml +++ b/test/integration/targets/junos_facts/tests/netconf/facts.yaml @@ -62,7 +62,7 @@ - assert: that: - "result.changed == false" - - "'set system host-name {{ inventory_hostname_short }}' in result['ansible_facts']['ansible_net_config']" + - "'set system services netconf ssh' in result['ansible_facts']['ansible_net_config']" - name: Collect config facts from device in xml format junos_facts: