mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
ios integration tests to network_cli (#33920)
* Preliminary steps * Fix Python3 network_cli ios * Add connection to debug strings * Fix ios confirm prompt by way of optional newline Also update ios_user delete tests
This commit is contained in:
parent
8d5c8b252d
commit
cb1b705218
56 changed files with 358 additions and 102 deletions
|
@ -5,6 +5,7 @@
|
|||
banner: login
|
||||
state: absent
|
||||
authorize: yes
|
||||
become: yes
|
||||
|
||||
- name: Set login
|
||||
ios_banner:
|
||||
|
@ -15,6 +16,7 @@
|
|||
string
|
||||
state: present
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- debug:
|
||||
|
@ -34,6 +36,7 @@
|
|||
string
|
||||
state: present
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
banner: motd
|
||||
state: absent
|
||||
authorize: yes
|
||||
become: yes
|
||||
|
||||
- name: Set motd
|
||||
ios_banner:
|
||||
|
@ -15,6 +16,7 @@
|
|||
string
|
||||
state: present
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- debug:
|
||||
|
@ -34,6 +36,7 @@
|
|||
string
|
||||
state: present
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
|
@ -7,12 +7,14 @@
|
|||
over multiple lines
|
||||
state: present
|
||||
authorize: yes
|
||||
become: yes
|
||||
|
||||
- name: remove login
|
||||
ios_banner:
|
||||
banner: login
|
||||
state: absent
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- debug:
|
||||
|
@ -28,6 +30,7 @@
|
|||
banner: login
|
||||
state: absent
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue