mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Do not assert session name on idempotent eos banner (#23402)
* Check for proper response key on eos_banner map_config_to_obj If we run the task with 'login' banner, the 'show banner' command will return a dict containing key 'loginBanner'. However for motd, it will just return 'motd'. Yay naming consistency! * Do not assert session exists on eos_banner response not changing device
This commit is contained in:
parent
ba7ba7adc3
commit
13b2f11139
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
|||
- "result.changed == false"
|
||||
- "result.commands | length == 0"
|
||||
# Ensure sessions contains epoc. Will fail after 18th May 2033
|
||||
- "result.session_name contains 'ansible_1'"
|
||||
- "result.session_name is not defined"
|
||||
|
||||
# FIXME add in tests for everything defined in docs
|
||||
# FIXME Test state:absent + test:
|
||||
|
|
Loading…
Reference in a new issue