mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix addition of newline for eos & nxos (#56227)
This commit is contained in:
parent
bceca72eb7
commit
c5f3b778c4
3 changed files with 2 additions and 2 deletions
|
@ -604,6 +604,7 @@ def to_command(module, commands):
|
|||
output=dict(default=default_output),
|
||||
prompt=dict(type='list'),
|
||||
answer=dict(type='list'),
|
||||
newline=dict(type='bool', default=True),
|
||||
sendonly=dict(type='bool', default=False),
|
||||
check_all=dict(type='bool', default=False),
|
||||
), module)
|
||||
|
|
|
@ -688,6 +688,7 @@ def to_command(module, commands):
|
|||
output=dict(default=default_output),
|
||||
prompt=dict(type='list'),
|
||||
answer=dict(type='list'),
|
||||
newline=dict(type='bool', default=True),
|
||||
sendonly=dict(type='bool', default=False),
|
||||
check_all=dict(type='bool', default=False),
|
||||
), module)
|
||||
|
|
|
@ -160,8 +160,6 @@ from ansible.module_utils.network.common.utils import transform_commands, to_lin
|
|||
from ansible.module_utils.network.eos.eos import run_commands
|
||||
from ansible.module_utils.network.eos.eos import eos_argument_spec
|
||||
|
||||
VALID_KEYS = ['command', 'output', 'prompt', 'response']
|
||||
|
||||
|
||||
def parse_commands(module, warnings):
|
||||
commands = transform_commands(module)
|
||||
|
|
Loading…
Reference in a new issue