Fix junos integration failures (#34571)

*  Add connection=netconf in individual roles for modules that run using netconf connection
plugin
*  Add connection=network_cli for junos_netconf and junos_command
at applicable places
This commit is contained in:
Ganesh Nalawade 2018-01-08 17:58:47 +05:30 committed by GitHub
commit 1c8c51d05c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 276 additions and 123 deletions

View file

@ -1,5 +1,5 @@
---
- debug: msg="START junos_interface netconf/basic.yaml"
- debug: msg="START junos_interface netconf/basic.yaml on connection={{ ansible_connection }}"
- name: setup remove interface
junos_interface:
@ -295,3 +295,5 @@
- assert:
that:
- 'result.changed == false'
- debug: msg="END junos_interface netconf/basic.yaml on connection={{ ansible_connection }}"

View file

@ -1,5 +1,5 @@
---
- debug: msg="START junos_interface netconf/intent.yaml"
- debug: msg="START junos_interface netconf/intent.yaml on connection={{ ansible_connection }}"
- name: get facts
junos_facts:
@ -92,3 +92,5 @@
- assert:
that:
- "result.failed == false"
- debug: msg="END junos_interface netconf/intent.yaml on connection={{ ansible_connection }}"