From e67f7bafd5f3918c4cb6d0317274d890398a4296 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Sun, 9 Sep 2018 10:49:19 -0500 Subject: [PATCH] Gate: Update gate permit running on ubuntu 18.04 This PS updates the gate to permit running on the current LTS ubuntu release. Change-Id: I7e32a4ab0dc79e4b5f7a16f8a8cb5e9ee182ee08 Signed-off-by: Pete Birley --- .../opt/playbooks/roles/deploy-kubelet/tasks/kubelet.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/tasks/kubelet.yaml b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/tasks/kubelet.yaml index d79a00c54..aba844bd0 100644 --- a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/tasks/kubelet.yaml +++ b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/tasks/kubelet.yaml @@ -25,16 +25,16 @@ - libwrap0 - socat -- name: ubuntu | installing kubelet support packages - when: ansible_distribution == 'Ubuntu' +- name: ubuntu xenial | installing kubelet support packages + when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial' apt: name: "{{item}}" state: installed with_items: - libxtables11 -- name: debian | installing kubelet support packages - when: ansible_distribution == 'Debian' +- name: debian and ubuntu bionic | installing kubelet support packages + when: ansible_distribution == 'Debian' or ( ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'bionic' ) apt: name: "{{item}}" state: installed