|
|
@ -96,7 +96,7 @@ def map_obj_to_commands(want, have, module):
|
|
|
|
commands = list()
|
|
|
|
commands = list()
|
|
|
|
state = module.params['state']
|
|
|
|
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'])
|
|
|
|
commands.append('no banner %s' % module.params['banner'])
|
|
|
|
|
|
|
|
|
|
|
|
elif state == 'present' and want.get('text') != have.get('text'):
|
|
|
|
elif state == 'present' and want.get('text') != have.get('text'):
|
|
|
|