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