Skip to content

Instantly share code, notes, and snippets.

@guillaumerose
Created April 4, 2019 07:30
Show Gist options
  • Save guillaumerose/185dfc458c856465105cb6da74a2756e to your computer and use it in GitHub Desktop.
Save guillaumerose/185dfc458c856465105cb6da74a2756e to your computer and use it in GitHub Desktop.
Ansible setup
$url = "https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1"
$file = "$env:temp\ConfigureRemotingForAnsible.ps1"
(New-Object -TypeName System.Net.WebClient).DownloadFile($url, $file)
powershell.exe -ExecutionPolicy ByPass -File $file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment