mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
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:
parent
5db9ac23ee
commit
2e76c89910
48 changed files with 154 additions and 107 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/all_facts.yaml"
|
||||
- debug: msg="START cli/all_facts.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
|
||||
- name: test getting all facts
|
||||
|
@ -25,4 +25,4 @@
|
|||
# Items from those subsets are present
|
||||
- "result.ansible_facts.ansible_net_filesystems is defined"
|
||||
|
||||
- debug: msg="END cli/all_facts.yaml"
|
||||
- debug: msg="END cli/all_facts.yaml on connection={{ ansible_connection }}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/default_facts.yaml"
|
||||
- debug: msg="START cli/default_facts.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
|
||||
- name: test getting default facts
|
||||
|
@ -27,4 +27,4 @@
|
|||
# ... and not present
|
||||
- "result.ansible_facts.ansible_net_config is not defined" # config
|
||||
|
||||
- debug: msg="END cli/default.yaml"
|
||||
- debug: msg="END cli/default.yaml on connection={{ ansible_connection }}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/invalid_subset.yaml"
|
||||
- debug: msg="START cli/invalid_subset.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
|
||||
- name: test invalid subset (foobar)
|
||||
|
@ -45,4 +45,4 @@
|
|||
|
||||
|
||||
|
||||
- debug: msg="END cli/invalid_subset.yaml"
|
||||
- debug: msg="END cli/invalid_subset.yaml on connection={{ ansible_connection }}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/not_hardware_facts.yaml"
|
||||
- debug: msg="START cli/not_hardware_facts.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
|
||||
- name: test not hardware
|
||||
|
@ -27,4 +27,4 @@
|
|||
# ... and not present
|
||||
- "result.ansible_facts.ansible_net_filesystems is not defined"
|
||||
|
||||
- debug: msg="END cli/not_hardware_facts.yaml"
|
||||
- debug: msg="END cli/not_hardware_facts.yaml on connection={{ ansible_connection }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue