"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/ansible/modules/network/aci/aci_aaa_user.py" between
ansible-2.7.6.tar.gz and ansible-2.7.7.tar.gz

About: Ansible is a platform for configuring and managing computers combining multi-node software deployment, ad hoc task execution, and configuration management.

aci_aaa_user.py  (ansible-2.7.6):aci_aaa_user.py  (ansible-2.7.7)
skipping to change at line 288 skipping to change at line 288
aci = ACIModule(module) aci = ACIModule(module)
if not HAS_DATEUTIL: if not HAS_DATEUTIL:
module.fail_json(msg='dateutil required for this module') module.fail_json(msg='dateutil required for this module')
aaa_password = module.params['aaa_password'] aaa_password = module.params['aaa_password']
aaa_password_lifetime = module.params['aaa_password_lifetime'] aaa_password_lifetime = module.params['aaa_password_lifetime']
aaa_password_update_required = aci.boolean(module.params['aaa_password_updat e_required']) aaa_password_update_required = aci.boolean(module.params['aaa_password_updat e_required'])
aaa_user = module.params['aaa_user'] aaa_user = module.params['aaa_user']
clear_password_history = module.params['clear_password_history'] clear_password_history = aci.boolean(module.params['clear_password_history'] , 'yes', 'no')
description = module.params['description'] description = module.params['description']
email = module.params['email'] email = module.params['email']
enabled = aci.boolean(module.params['enabled'], 'active', 'inactive') enabled = aci.boolean(module.params['enabled'], 'active', 'inactive')
expires = aci.boolean(module.params['expires']) expires = aci.boolean(module.params['expires'])
first_name = module.params['first_name'] first_name = module.params['first_name']
last_name = module.params['last_name'] last_name = module.params['last_name']
phone = module.params['phone'] phone = module.params['phone']
state = module.params['state'] state = module.params['state']
expiration = module.params['expiration'] expiration = module.params['expiration']
skipping to change at line 321 skipping to change at line 321
), ),
) )
aci.get_existing() aci.get_existing()
if state == 'present': if state == 'present':
aci.payload( aci.payload(
aci_class='aaaUser', aci_class='aaaUser',
class_config=dict( class_config=dict(
accountStatus=enabled, accountStatus=enabled,
clearPwdHistory=clear_password_history, clearPwdHistory=clear_password_history,
descr=description,
email=email, email=email,
expiration=expiration, expiration=expiration,
expires=expires, expires=expires,
firstName=first_name, firstName=first_name,
lastName=last_name, lastName=last_name,
name=aaa_user, name=aaa_user,
phone=phone, phone=phone,
pwd=aaa_password, pwd=aaa_password,
pwdLifeTime=aaa_password_lifetime, pwdLifeTime=aaa_password_lifetime,
pwdUpdateRequired=aaa_password_update_required, pwdUpdateRequired=aaa_password_update_required,
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)