1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix unexpected key argument for eos_config replace (#27683)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2017-08-03 14:08:23 +05:30 committed by GitHub
parent 91a9564b3b
commit 3da9607203

View file

@ -240,7 +240,7 @@ class Cli:
self._module.fail_json(msg='unable to enter configuration mode', output=to_text(err, errors='surrogate_then_replace')) self._module.fail_json(msg='unable to enter configuration mode', output=to_text(err, errors='surrogate_then_replace'))
if replace: if replace:
self.exec_command('rollback clean-config', check_rc=True) self.exec_command('rollback clean-config')
rc, out, err = self.send_config(commands) rc, out, err = self.send_config(commands)
if rc != 0: if rc != 0: