mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Remove deprecated params from module argspec nxos modules (#34911)
* Remove deprecated param from module argspec nxos modules Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * fix nxos_vrrp syntaxerror * Add choices for version _nxos_ip_interface * remove check_args function * remove include_defaults
This commit is contained in:
parent
0196b6bb69
commit
a727930f07
31 changed files with 85 additions and 254 deletions
|
@ -192,11 +192,6 @@ options:
|
|||
choices: ['af11', 'af12', 'af13', 'af21', 'af22', 'af23','af31','af32',
|
||||
'af33', 'af41', 'af42', 'af43', 'cs1', 'cs2', 'cs3', 'cs4',
|
||||
'cs5', 'cs6', 'cs7', 'default', 'ef']
|
||||
include_defaults:
|
||||
description:
|
||||
- Specify if the complete running configuration for module operations should be used.
|
||||
default: false
|
||||
type: bool
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
|
@ -433,14 +428,7 @@ def main():
|
|||
'cs1', 'cs2', 'cs3', 'cs4',
|
||||
'cs5', 'cs6', 'cs7', 'default',
|
||||
'ef']),
|
||||
state=dict(choices=['absent', 'present', 'delete_acl'], default='present'),
|
||||
protocol=dict(choices=['http', 'https'], default='http'),
|
||||
host=dict(required=True),
|
||||
username=dict(type='str'),
|
||||
password=dict(no_log=True, type='str'),
|
||||
include_defaults=dict(default=False),
|
||||
config=dict(),
|
||||
save=dict(type='bool', default=False)
|
||||
state=dict(choices=['absent', 'present', 'delete_acl'], default='present')
|
||||
)
|
||||
|
||||
argument_spec.update(nxos_argument_spec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue