remote_src: yes
-vvv error
The full traceback is:
Cannot find path 'C:\Program Files\WireGuard\Data\Configurations\mont.conf' because it does not exist.
At line:133 char:13
+ $file = Get-Item -LiteralPath $path -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program File...tions\mont.conf:String) [Get-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand
ScriptStackTrace:
at Get-FileSize, <No file>: line 133
at <ScriptBlock>, <No file>: line 367
System.Management.Automation.ItemNotFoundException: Cannot find path 'C:\Program Files\WireGuard\Data\Configurations\mont.conf' because it does not exist.
at System.Management.Automation.LocationGlobber.ResolveDriveQualifiedPath(String path, CmdletProviderContext context, Boolean allowNonexistingPaths, CmdletProvider& providerInstance)
at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonadPath(String path, Boolean allowNonexistingPaths, CmdletProviderContext context, CmdletProvider& providerInstance)
at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMonadPath(String path, Boolean allowNonexistingPaths, CmdletProviderContext context, ProviderInfo& provider, CmdletProvider& providerInstance)
at System.Management.Automation.SessionStateInternal.GetItem(String[] paths, CmdletProviderContext context)
at Microsoft.PowerShell.Commands.GetItemCommand.ProcessRecord()
fatal: [beast_win]: FAILED! => {
"changed": false,
"dest": "C:\\Program Files\\WireGuard\\Data\\Configurations\\",
"msg": "Unhandled exception while executing module: Cannot find path 'C:\\Program Files\\WireGuard\\Data\\Configurations\\mont.conf' because it does not exist.",
"src": "G:\\scripts\\wireguard\\mont_wg_config\\users\\beast\\mont.conf"