From 63022ebb944692b327529251644a96dc58408cf9 Mon Sep 17 00:00:00 2001 From: James Blair Date: Wed, 1 Jan 2020 19:38:00 +0000 Subject: [PATCH] Corrected ansible package source. --- wsl-setup.org | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/wsl-setup.org b/wsl-setup.org index 3692410..193b0b4 100644 --- a/wsl-setup.org +++ b/wsl-setup.org @@ -148,11 +148,14 @@ This guide will walk through setting up [[https://en.wikipedia.org/wiki/Windows_ #+NAME: Install ansible #+BEGIN_SRC shell - # Add a ppa source so we can install the latest version - sudo apt-add-repository --yes --update ppa:ansible/ansible + # Add a source entry to apt sources + sudo echo deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main >> /etc/apt/sources.list + + # Add the required key + sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 # Install ansible via apt package manager - sudo apt-get install -y ansible + sudo apt-get update && sudo apt-get install -y ansible #+END_SRC