re-add EAP to Stop for older branch

This commit is contained in:
Jordan Borean 2019-03-05 14:23:11 +10:00 committed by Toshio Kuratomi
parent 8bb830c1b4
commit ba261abe29

View file

@ -7,6 +7,8 @@
#Requires -Module Ansible.ModuleUtils.CommandUtil #Requires -Module Ansible.ModuleUtils.CommandUtil
#Requires -Module Ansible.ModuleUtils.Legacy #Requires -Module Ansible.ModuleUtils.Legacy
$ErrorActionPreference = "Stop"
$params = Parse-Args -arguments $args -supports_check_mode $true $params = Parse-Args -arguments $args -supports_check_mode $true
$check_mode = Get-AnsibleParam -obj $params -name "_ansible_check_mode" -type "bool" -default $false $check_mode = Get-AnsibleParam -obj $params -name "_ansible_check_mode" -type "bool" -default $false
$diff = Get-AnsibleParam -obj $params -name "_ansible_diff" -type "bool" -default $false $diff = Get-AnsibleParam -obj $params -name "_ansible_diff" -type "bool" -default $false