Skip to content

Commit

Permalink
Fix addition of newline for eos & nxos (ansible#56227)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qalthos authored May 8, 2019
1 parent bceca72 commit c5f3b77
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/ansible/module_utils/network/eos/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions lib/ansible/module_utils/network/nxos/nxos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions lib/ansible/modules/network/eos/eos_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,6 @@
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)
Expand Down

0 comments on commit c5f3b77

Please sign in to comment.