mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fix vyos_banner multiline string issue (#26383)
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 post-login banner' in result.commands"
|
||||
- "'that has a multiline' in result.commands"
|
||||
- "'this is my post-login banner' in result.commands[0]"
|
||||
- "'that has a multiline' in result.commands[0]"
|
||||
|
||||
- name: Set post-login again (idempotent)
|
||||
vyos_banner:
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
- assert:
|
||||
that:
|
||||
- "result.changed == true"
|
||||
- "'this is my pre-login banner' in result.commands"
|
||||
- "'that has a multiline' in result.commands"
|
||||
- "'this is my pre-login banner' in result.commands[0]"
|
||||
- "'that has a multiline' in result.commands[0]"
|
||||
|
||||
- name: Set pre-login again (idempotent)
|
||||
vyos_banner:
|
||||
|
||||
Reference in New Issue
Block a user