From 7bf95595f78d3470e530a0bf9dd3aefcbb82763f Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Wed, 9 May 2018 09:35:24 -0500 Subject: [PATCH] A few small fixes for automated test builds. --- defaults/main.yml | 2 +- tasks/main.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 58f3631..b7c3cbf 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -14,4 +14,4 @@ kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-{{ ansible_ kubernetes_apt_ignore_key_error: False kubernetes_yum_arch: x86_64 -kubernetes_yum_repo_url: "https://packages.cloud.google.com/yum/repos/kubernetes-el{{ ansible_distribution_major_version }}-{{ kubernetes_yum_arch }}" +kubernetes_yum_repo_url: "https://packages.cloud.google.com/yum/repos/kubernetes-el7-{{ kubernetes_yum_arch }}" diff --git a/tasks/main.yml b/tasks/main.yml index 757db62..90054e3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -29,6 +29,7 @@ --kubernetes-version stable-1.10 --ignore-preflight-errors=all register: kubeadmin_init + failed_when: False - name: Print the init output to screen. debug: var=kubeadmin_init.stdout