IOS XR cli tests move to network_cli (#34007)

* Update task definitions for network_cli

* Add connection to debug messages

* Specify connection for prepare task

* pc won't be around for connection=network_cli

* Assorted Python 3 fixes

* Give default port if ansible_ssh_port missing

* delegate -> connection

* Extend error regex
This commit is contained in:
Nathaniel Case 2017-12-20 11:26:09 -05:00 committed by GitHub
commit 2e76c89910
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 154 additions and 107 deletions

View file

@ -1,5 +1,5 @@
---
- debug: msg="START cli/set_domain_search.yaml"
- debug: msg="START cli/set_domain_search.yaml on connection={{ ansible_connection }}"
- name: setup
iosxr_config:
@ -119,4 +119,4 @@
match: none
provider: "{{ cli }}"
- debug: msg="END cli/set_domain_search.yaml"
- debug: msg="END cli/set_domain_search.yaml on connection={{ ansible_connection }}"

View file

@ -1,5 +1,5 @@
---
- debug: msg="START cli/set_domain_name.yaml"
- debug: msg="START cli/set_domain_name.yaml on connection={{ ansible_connection }}"
- name: setup
iosxr_config:
@ -33,4 +33,4 @@
match: none
provider: "{{ cli }}"
- debug: msg="END cli/set_domain_name.yaml"
- debug: msg="END cli/set_domain_name.yaml on connection={{ ansible_connection }}"

View file

@ -1,5 +1,5 @@
---
- debug: msg="START cli/set_hostname.yaml"
- debug: msg="START cli/set_hostname.yaml on connection={{ ansible_connection }}"
- name: setup
iosxr_config:
@ -33,4 +33,4 @@
match: none
provider: "{{ cli }}"
- debug: msg="END cli/set_hostname.yaml"
- debug: msg="END cli/set_hostname.yaml on connection={{ ansible_connection }}"

View file

@ -1,5 +1,5 @@
---
- debug: msg="START cli/set_lookup_source.yaml"
- debug: msg="START cli/set_lookup_source.yaml on connection={{ ansible_connection }}"
- name: setup
iosxr_config:
@ -63,4 +63,4 @@
match: none
provider: "{{ cli }}"
- debug: msg="END cli/set_lookup_source.yaml"
- debug: msg="END cli/set_lookup_source.yaml on connection={{ ansible_connection }}"

View file

@ -1,5 +1,5 @@
---
- debug: msg="START cli/set_name_servers.yaml"
- debug: msg="START cli/set_name_servers.yaml on connection={{ ansible_connection }}"
- name: setup
iosxr_config:
@ -83,4 +83,4 @@
# FIXME: No teardown
#
- debug: msg="END cli/set_name_servers.yaml"
- debug: msg="END cli/set_name_servers.yaml on connection={{ ansible_connection }}"