Skip to content

Instantly share code, notes, and snippets.

Working from home

Dmytro Vorotyntsev vorotech

Working from home
View GitHub Profile
vorotech / scoop_setup.ps1
Last active Dec 20, 2018
Set up Windows using Scoop package manager
View scoop_setup.ps1
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iex (new-object net.webclient).downloadstring('')
scoop install 7zip curl git openssh cmder grep which sudo
[environment]::setenvironmentvariable('GIT_SSH', (resolve-path (scoop which ssh)), 'USER')
scoop install dotnet-sdk
scoop bucket add extras

Investiagate mystical tmp path when remote is Pod container

The Problem

When executing Ansible tasks targeting remote pod container, any of the Ansible bubble wrapped modules receive the invalid tmp directory which cannot be resolved.

The example of invalid path /~zuul/.ansible/tmp/ansible-tmp-1602657590.3517509-66-230912263536663/source where the ~ part is resovled to HOME directory and breaks everything.

You can’t perform that action at this time.