mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user