mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix nxos_banner (#34695)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
df8b01aaf7
commit
303894dd17
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ def map_config_to_obj(module):
|
|||
|
||||
if isinstance(output, dict):
|
||||
output = list(output.values())[0]
|
||||
if isinstance(output, dict):
|
||||
output = list(output.values())[0]
|
||||
|
||||
obj = {'banner': module.params['banner'], 'state': 'absent'}
|
||||
if output:
|
||||
|
|
Loading…
Reference in a new issue