mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-19 14:50:21 -07:00
kubevirt: cleanup module docs (#54119)
This commit is contained in:
parent
5d32dbd532
commit
53b56825cd
6 changed files with 50 additions and 56 deletions
|
@ -65,7 +65,6 @@ options:
|
|||
|
||||
extends_documentation_fragment:
|
||||
- k8s_auth_options
|
||||
- k8s_resource_options
|
||||
- kubevirt_vm_options
|
||||
- kubevirt_common_options
|
||||
|
||||
|
@ -210,7 +209,7 @@ kubevirt_vm:
|
|||
import copy
|
||||
import traceback
|
||||
|
||||
from ansible.module_utils.k8s.common import AUTH_ARG_SPEC, COMMON_ARG_SPEC
|
||||
from ansible.module_utils.k8s.common import AUTH_ARG_SPEC
|
||||
|
||||
try:
|
||||
from openshift.dynamic.client import ResourceInstance
|
||||
|
@ -243,8 +242,7 @@ class KubeVirtVM(KubeVirtRawModule):
|
|||
@property
|
||||
def argspec(self):
|
||||
""" argspec property builder """
|
||||
argument_spec = copy.deepcopy(COMMON_ARG_SPEC)
|
||||
argument_spec.update(copy.deepcopy(AUTH_ARG_SPEC))
|
||||
argument_spec = copy.deepcopy(AUTH_ARG_SPEC)
|
||||
argument_spec.update(VM_COMMON_ARG_SPEC)
|
||||
argument_spec.update(VM_ARG_SPEC)
|
||||
return argument_spec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue