mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
Explictly set the version of strict mode to use for powershell modules.
This commit is contained in:
parent
9e364c2eb5
commit
345ce424c6
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
|||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
Set-StrictMode -Version Latest
|
||||
Set-StrictMode -Version 2.0
|
||||
|
||||
# Ansible v2 will insert the module arguments below as a string containing
|
||||
# JSON; assign them to an environment variable and redefine $args so existing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue