fix iosxr_banner (#27378)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2017-07-28 17:09:04 +05:30 committed by GitHub
commit 6d1bd33aa5
5 changed files with 22 additions and 64 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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: