mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
integration/targets/ios_* work to support IOS (#20414)
* WIP * Don't set connection: network_cli in the playbook * ios_config tests now passing * Create test loopback device * delete * ios_* pass (apart from ios_facts) * Remove provider lines
This commit is contained in:
parent
7330ab8062
commit
a12033a6e0
38 changed files with 53 additions and 142 deletions
|
@ -4,6 +4,7 @@
|
|||
paths: "{{ role_path }}/tests/cli"
|
||||
patterns: "{{ testcase }}.yaml"
|
||||
register: test_cases
|
||||
delegate_to: localhost
|
||||
|
||||
- name: set test_items
|
||||
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
- name: test getting all facts
|
||||
ios_facts:
|
||||
provider: "{{ cli }}"
|
||||
gather_subset:
|
||||
- all
|
||||
register: result
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
- name: test getting default facts
|
||||
ios_facts:
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
- name: test invalid subset (foobar)
|
||||
ios_facts:
|
||||
provider: "{{ cli }}"
|
||||
gather_subset:
|
||||
- "foobar"
|
||||
register: result
|
||||
|
@ -26,7 +25,6 @@
|
|||
|
||||
- name: test subset specified multiple times
|
||||
ios_facts:
|
||||
provider: "{{ cli }}"
|
||||
gather_subset:
|
||||
- "!hardware"
|
||||
- "hardware"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
- name: test not hardware
|
||||
ios_facts:
|
||||
provider: "{{ cli }}"
|
||||
gather_subset:
|
||||
- "!hardware"
|
||||
register: result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue