Fixes failing Ubuntu 18.04 test.

This commit is contained in:
Jeff Geerling 2018-10-23 15:58:35 -05:00
parent 9fce58301f
commit 5c4eea46ed

View File

@ -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'