From d0816d08ad48b53c3b23ac2cce963fb5b659ff10 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Wed, 9 May 2018 15:15:34 -0500 Subject: [PATCH] Fix kube utils installation not working on Debian. --- README.md | 2 +- defaults/main.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b40de6..479da12 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ TODO. TODO. kubernetes_apt_release_channel: main - kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-{{ ansible_distribution_release }} {{ kubernetes_apt_release_channel }}" + kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}" kubernetes_apt_ignore_key_error: False TODO. diff --git a/defaults/main.yml b/defaults/main.yml index e9ade8a..c9fe805 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -15,7 +15,8 @@ kubernetes_allow_pods_on_master: True kubernetes_enable_web_ui: True kubernetes_apt_release_channel: main -kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-{{ ansible_distribution_release }} {{ kubernetes_apt_release_channel }}" +# Note that xenial repo is used for all Debian derivatives at this time. +kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}" kubernetes_apt_ignore_key_error: False kubernetes_yum_arch: x86_64