Closed ccedmendoza closed 5 years ago
avant de jouer le playbook, essaye
apt update -y
et probablement un problème de version de apt-transport-https.
c'est assez dépendant de ton environnement: quel est il ?
To be more precise: ubuntu 16
tried to update:
Hit:1 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://ppa.launchpad.net/galaxyproject/nginx/ubuntu xenial InRelease
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:6 http://archive.canonical.com/ubuntu xenial InRelease
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/xenial/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
Is it an IFB-core VM ? Try prabi. IFB-core cloud sucks. NB: the docker deployment of KS is Travis-tested. It works.
Nope, it's a GCE vm. I made it work by doing the following:
apt-get install apt-transport-https
apt-get update
# remove previously added docker repository in the list
vi /etc/apt/sources.list
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update
found the problem. I launched a ubuntu 16.04 minimal
When playing the ansible playbook this is the error I get:
It seems to be a problem with docker