From 5c4eea46ed3cc7fc9a2e3ddb2fef11e1b2fdb773 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 23 Oct 2018 15:58:35 -0500 Subject: [PATCH] Fixes failing Ubuntu 18.04 test. --- molecule/default/playbook.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/molecule/default/playbook.yml b/molecule/default/playbook.yml index cc3bf1c..19ae391 100644 --- a/molecule/default/playbook.yml +++ b/molecule/default/playbook.yml @@ -13,13 +13,18 @@ apt: update_cache=true cache_valid_time=600 when: ansible_os_family == 'Debian' - - name: Ensure test dependencies are installed. + - name: Ensure test dependencies are installed (RedHat). package: name=iproute state=present + when: ansible_os_family == 'RedHat' + + - name: Ensure test dependencies are installed (Debian). + package: name=iproute2 state=present + when: ansible_os_family == 'Debian' - name: Gather facts. action: setup - - name: Use cgroupfs cgroup driver instead of systemd (Red Hat). + - name: Use cgroupfs cgroup driver instead of systemd (RedHat). set_fact: kubernetes_kubelet_extra_args: '"--fail-swap-on=false --cgroup-driver=cgroupfs"' when: ansible_os_family == 'RedHat'