mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
fix_dellos6_config (#50599)
This commit is contained in:
committed by
Ganesh Nalawade
parent
eaf9da4dff
commit
063c2f9d59
@@ -287,7 +287,7 @@ def main():
|
|||||||
result['changed'] = True
|
result['changed'] = True
|
||||||
if not module.check_mode:
|
if not module.check_mode:
|
||||||
cmd = {'command': 'copy running-config startup-config',
|
cmd = {'command': 'copy running-config startup-config',
|
||||||
'prompt': r'\(y/n\)\s?$', 'answer': 'yes'}
|
'prompt': r'\(y/n\)\s?$', 'answer': 'y'}
|
||||||
run_commands(module, [cmd])
|
run_commands(module, [cmd])
|
||||||
result['saved'] = True
|
result['saved'] = True
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user