mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add check mode support for Windows modules that don't modify the remote system.
This commit is contained in:
parent
bb6762dffd
commit
1b6edab87c
3 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@
|
||||||
# WANT_JSON
|
# WANT_JSON
|
||||||
# POWERSHELL_COMMON
|
# POWERSHELL_COMMON
|
||||||
|
|
||||||
$params = Parse-Args $args;
|
$params = Parse-Args $args $true;
|
||||||
|
|
||||||
$src = Get-Attr $params "src" (Get-Attr $params "path" $FALSE);
|
$src = Get-Attr $params "src" (Get-Attr $params "path" $FALSE);
|
||||||
If (-not $src)
|
If (-not $src)
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
# WANT_JSON
|
# WANT_JSON
|
||||||
# POWERSHELL_COMMON
|
# POWERSHELL_COMMON
|
||||||
|
|
||||||
$params = Parse-Args $args;
|
$params = Parse-Args $args $true;
|
||||||
|
|
||||||
$data = Get-Attr $params "data" "pong";
|
$data = Get-Attr $params "data" "pong";
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
# WANT_JSON
|
# WANT_JSON
|
||||||
# POWERSHELL_COMMON
|
# POWERSHELL_COMMON
|
||||||
|
|
||||||
$params = Parse-Args $args;
|
$params = Parse-Args $args $true;
|
||||||
|
|
||||||
function Date_To_Timestamp($start_date, $end_date)
|
function Date_To_Timestamp($start_date, $end_date)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue