From 39caf947900af6a0ebf4d9a225d6f68bdd7aa7d2 Mon Sep 17 00:00:00 2001
From: Smana <smainklh@gmail.com>
Date: Thu, 18 Feb 2016 16:38:25 +0100
Subject: [PATCH] update hyperkube version

---
 README.md                                  | 4 ++--
 roles/kubernetes/node/defaults/main.yml    | 2 +-
 roles/kubernetes/preinstall/tasks/main.yml | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 9a7943ab6..f5f3fc015 100644
--- a/README.md
+++ b/README.md
@@ -24,8 +24,8 @@ in order to avoid any issue during deployment you should disable your firewall
 
 ### Components
 * [kubernetes](https://github.com/kubernetes/kubernetes/releases) v1.1.7
-* [etcd](https://github.com/coreos/etcd/releases) v2.2.4
-* [calicoctl](https://github.com/projectcalico/calico-docker/releases) v0.16.0
+* [etcd](https://github.com/coreos/etcd/releases) v2.2.5
+* [calicoctl](https://github.com/projectcalico/calico-docker/releases) v0.16.1
 * [flanneld](https://github.com/coreos/flannel/releases) v0.5.5
 * [weave](http://weave.works/) v1.4.4
 * [docker](https://www.docker.com/) v1.9
diff --git a/roles/kubernetes/node/defaults/main.yml b/roles/kubernetes/node/defaults/main.yml
index cbbddf8e5..96c9ce5c9 100644
--- a/roles/kubernetes/node/defaults/main.yml
+++ b/roles/kubernetes/node/defaults/main.yml
@@ -34,7 +34,7 @@ kube_proxy_mode: userspace
 # Temporary image, waiting for official google release
 #  hyperkube_image_repo: gcr.io/google_containers/hyperkube
 hyperkube_image_repo: quay.io/ant31/kubernetes-hyperkube
-hyperkube_image_tag: v1.1.4
+hyperkube_image_tag: v1.1.7
 
 # IP address of the DNS server.
 # Kubernetes will create a pod with several containers, serving as the DNS
diff --git a/roles/kubernetes/preinstall/tasks/main.yml b/roles/kubernetes/preinstall/tasks/main.yml
index fc06d12b7..3aa9aeee5 100644
--- a/roles/kubernetes/preinstall/tasks/main.yml
+++ b/roles/kubernetes/preinstall/tasks/main.yml
@@ -86,6 +86,7 @@
     name: "{{ item }}"
     state: latest
   with_items: "{{required_pkgs | union(common_required_pkgs)}}"
+  when: ansible_os_family in [ "Debian", "RedHat" ]
 
 # Todo : selinux configuration
 - name: Set selinux policy to permissive
-- 
GitLab