mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-20 16:09:09 -07:00
Allow config commands in aireos_command to support prompts (#56130)
* Switch failure on config command to just a warning. * Change wording in documentation * Missing whitespace
This commit is contained in:
parent
8ce09a0057
commit
4928373a8b
1 changed files with 5 additions and 5 deletions
|
@ -22,8 +22,8 @@ description:
|
||||||
read from the device. This module includes an
|
read from the device. This module includes an
|
||||||
argument that will cause the module to wait for a specific condition
|
argument that will cause the module to wait for a specific condition
|
||||||
before returning or timing out if the condition is not met.
|
before returning or timing out if the condition is not met.
|
||||||
- This module does not support running commands in configuration mode.
|
- Commands run in configuration mode with this module are not
|
||||||
Please use M(aireos_config) to configure WLC devices.
|
idempotent. Please use M(aireos_config) to configure WLC devices.
|
||||||
extends_documentation_fragment: aireos
|
extends_documentation_fragment: aireos
|
||||||
options:
|
options:
|
||||||
commands:
|
commands:
|
||||||
|
@ -143,9 +143,9 @@ def parse_commands(module, warnings):
|
||||||
'executing `%s`' % item['command']
|
'executing `%s`' % item['command']
|
||||||
)
|
)
|
||||||
elif item['command'].startswith('conf'):
|
elif item['command'].startswith('conf'):
|
||||||
module.fail_json(
|
warnings.append(
|
||||||
msg='aireos_command does not support running config mode '
|
'commands run in config mode with aireos_command are not '
|
||||||
'commands. Please use aireos_config instead'
|
'idempotent. Please use aireos_config instead'
|
||||||
)
|
)
|
||||||
return commands
|
return commands
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue