mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-08 09:24:01 -07:00
Remove check_args for vyos modules (#30739)
* With addition of provider sub option validation check_args() is no longer required.
This commit is contained in:
parent
06aad40ccb
commit
c86b945a7c
14 changed files with 13 additions and 37 deletions
|
@ -140,7 +140,7 @@ from ansible.module_utils.netcli import Conditional
|
|||
from ansible.module_utils.network_common import ComplexList
|
||||
from ansible.module_utils.six import string_types
|
||||
from ansible.module_utils.vyos import run_commands
|
||||
from ansible.module_utils.vyos import vyos_argument_spec, check_args
|
||||
from ansible.module_utils.vyos import vyos_argument_spec
|
||||
|
||||
def to_lines(stdout):
|
||||
for item in stdout:
|
||||
|
@ -184,7 +184,6 @@ def main():
|
|||
module = AnsibleModule(argument_spec=spec, supports_check_mode=True)
|
||||
|
||||
warnings = list()
|
||||
check_args(module, warnings)
|
||||
|
||||
commands = parse_commands(module, warnings)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue