modspec now supports supports_check_mode and add_file_common_args
Dieser Commit ist enthalten in:
Ursprung
1ea397da14
Commit
c5e6129682
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
minor_changes:
|
||||
- modspec now supports supports_check_mode and add_file_common_args
|
|
@ -151,6 +151,8 @@ def modspec(
|
|||
required_one_of: Sequence[Tuple[str, ...]] = (),
|
||||
required_if: Sequence[Union[Tuple[str, Any, Tuple[str, ...]], Tuple[str, Any, Tuple[str, ...], bool]]] = (),
|
||||
required_by: Dict[str, Union[str, Tuple[str, ...]]] = {},
|
||||
supports_check_mode: bool = False,
|
||||
add_file_common_args: bool = False,
|
||||
) -> Dict[str, Any]: # pragma: nocover
|
||||
return dict(
|
||||
argument_spec=argument_spec,
|
||||
|
@ -159,6 +161,8 @@ def modspec(
|
|||
required_one_of=required_one_of,
|
||||
required_if=required_if,
|
||||
required_by=required_by,
|
||||
add_file_common_args=add_file_common_args,
|
||||
supports_check_mode=supports_check_mode,
|
||||
)
|
||||
|
||||
|
||||
|
|
Laden…
In neuem Issue referenzieren