mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -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
|
@ -159,11 +159,6 @@ options:
|
|||
required: false
|
||||
choices: ['true', 'false']
|
||||
default: null
|
||||
include_defaults:
|
||||
description:
|
||||
- Specify if the complete running configuration for module operations should be used.
|
||||
default: true
|
||||
type: bool
|
||||
state:
|
||||
description:
|
||||
- Manages desired state of the resource.
|
||||
|
@ -176,11 +171,7 @@ EXAMPLES = '''
|
|||
interface: ethernet1/32
|
||||
startup_query_interval: 30
|
||||
state: present
|
||||
username: "{{ un }}"
|
||||
password: "{{ pwd }}"
|
||||
host: "{{ inventory_hostname }}"
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
proposed:
|
||||
description: k/v pairs of parameters passed into module
|
||||
|
@ -539,10 +530,7 @@ def main():
|
|||
oif_source=dict(required=False, type='str'),
|
||||
restart=dict(type='bool', default=False),
|
||||
state=dict(choices=['present', 'absent', 'default'],
|
||||
default='present'),
|
||||
include_defaults=dict(default=True),
|
||||
config=dict(),
|
||||
save=dict(type='bool', default=False)
|
||||
default='present')
|
||||
)
|
||||
|
||||
argument_spec.update(nxos_argument_spec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue