mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
fix iosxr_banner (#27378)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
- assert:
|
||||
that:
|
||||
- "result.changed == true"
|
||||
- "'this is my login banner' in result.commands"
|
||||
- "'that has a multiline' in result.commands"
|
||||
- "'this is my login banner' in result.commands[0]"
|
||||
- "'that has a multiline' in result.commands[0]"
|
||||
|
||||
- name: Set login again (idempotent)
|
||||
iosxr_banner:
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
- assert:
|
||||
that:
|
||||
- "result.changed == true"
|
||||
- "'this is my motd banner' in result.commands"
|
||||
- "'that has a multiline' in result.commands"
|
||||
- "'this is my motd banner' in result.commands[0]"
|
||||
- "'that has a multiline' in result.commands[0]"
|
||||
|
||||
- name: Set motd again (idempotent)
|
||||
iosxr_banner:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
- assert:
|
||||
that:
|
||||
- "result.changed == true"
|
||||
- "'no banner login' in result.commands"
|
||||
- "'no banner login' in result.commands[0]"
|
||||
|
||||
- name: remove login (idempotent)
|
||||
iosxr_banner:
|
||||
|
||||
Reference in New Issue
Block a user