mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Addressed review comments, given as part of other reviews (#4904)
This commit is contained in:
parent
c4f43eb965
commit
1ee897e988
4 changed files with 14 additions and 14 deletions
|
@ -180,21 +180,21 @@ updates:
|
|||
|
||||
responses:
|
||||
description: The set of responses from issuing the commands on the device
|
||||
retured: when not check_mode
|
||||
returned: when not check_mode
|
||||
type: list
|
||||
sample: ['...', '...']
|
||||
|
||||
saved:
|
||||
description: Returns whether the configuration is saved to the startup
|
||||
description: Returns whether the configuration is saved to the startup
|
||||
configuration or not.
|
||||
retured: when not check_mode
|
||||
returned: when not check_mode
|
||||
type: bool
|
||||
sample: True
|
||||
|
||||
"""
|
||||
from ansible.module_utils.netcfg import NetworkConfig, dumps
|
||||
from ansible.module_utils.network import NetworkModule
|
||||
from ansible.module_utils.dellos10 import get_config, get_sublevel_config
|
||||
from ansible.module_utils.dellos10 import get_config, get_sublevel_config
|
||||
|
||||
def get_candidate(module):
|
||||
candidate = NetworkConfig(indent=1)
|
||||
|
@ -220,11 +220,10 @@ def main():
|
|||
match=dict(default='line',
|
||||
choices=['line', 'strict', 'exact', 'none']),
|
||||
replace=dict(default='line', choices=['line', 'block']),
|
||||
|
||||
update=dict(choices=['merge', 'check'], default='merge'),
|
||||
save=dict(type='bool', default=False),
|
||||
config=dict(),
|
||||
backup =dict(type='bool', default=False)
|
||||
backup=dict(type='bool', default=False)
|
||||
)
|
||||
|
||||
mutually_exclusive = [('lines', 'src')]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue