mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 23:44:00 -07:00
Modified files to use single quotes rather than double for file path. Powershell does not process $ variables in strings that are single quoted. Powershell DOES process $ variables that are in double quoted strings.
Using single quotes enables ansible to handle file paths that contain folders that start with $. (i.e. C:/Users/$admin/...)
This commit is contained in:
parent
286d91d722
commit
2aba1c211d
2 changed files with 2 additions and 2 deletions
|
@ -274,7 +274,7 @@ class Connection(ConnectionBase):
|
|||
|
||||
script_template = u'''
|
||||
begin {{
|
||||
$path = "{0}"
|
||||
$path = '{0}'
|
||||
|
||||
$DebugPreference = "Continue"
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue