mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
nxos_banner CI fix (#29134)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
497e6cf405
commit
588bddbc35
2 changed files with 9 additions and 9 deletions
|
@ -96,7 +96,7 @@ def map_obj_to_commands(want, have, module):
|
|||
commands = list()
|
||||
state = module.params['state']
|
||||
|
||||
if state == 'absent' and have.get('text'):
|
||||
if (state == 'absent' and (have.get('text') and have.get('text') != 'User Access Verification')):
|
||||
commands.append('no banner %s' % module.params['banner'])
|
||||
|
||||
elif state == 'present' and want.get('text') != have.get('text'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue