summaryrefslogtreecommitdiff
path: root/test/integration/targets/junos_facts
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-11-24 12:04:47 +0530
committerGitHub <noreply@github.com>2017-11-24 12:04:47 +0530
commit3d63ecb6f3dc1d3687183746d431c1721233d125 (patch)
tree2cfa8cfdd78cf0ef4f16a49d2867e862bb2a9c08 /test/integration/targets/junos_facts
parent0c75f00248794fe59f68ffc8bc5d26ef8fcb6954 (diff)
downloadansible-3d63ecb6f3dc1d3687183746d431c1721233d125.tar.gz
Refactor junos modules to Use netconf and cliconf plugins (#32621)
* Fix junos integration test fixes as per connection refactor (#33050) Refactor netconf connection plugin to work with netconf plugin * Fix junos integration test fixes as per connection refactor (#33050) Refactor netconf connection plugin to work with netconf plugin Fix CI failure Fix unit test failure Fix review comments
Diffstat (limited to 'test/integration/targets/junos_facts')
-rw-r--r--test/integration/targets/junos_facts/tests/netconf/facts.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/junos_facts/tests/netconf/facts.yaml b/test/integration/targets/junos_facts/tests/netconf/facts.yaml
index c92b17287b..19f5d451f3 100644
--- a/test/integration/targets/junos_facts/tests/netconf/facts.yaml
+++ b/test/integration/targets/junos_facts/tests/netconf/facts.yaml
@@ -87,6 +87,13 @@
that:
- "result.changed == false"
- "'{{ inventory_hostname_short }}' == '{{ result['ansible_facts']['ansible_net_config']['configuration'][0]['system'][0]['host-name'][0]['data'] }}' "
+ when: ansible_net_version == "15.1X49-D15.4"
+
+- assert:
+ that:
+ - "result.changed == false"
+ - "'{{ inventory_hostname_short }}' == '{{ result['ansible_facts']['ansible_net_config']['configuration']['system']['host-name'] }}' "
+ when: ansible_net_version == "17.3R1.10"
- name: Collect config facts from device in text format
junos_facts: