mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2025-01-18 00:06:26 +01:00
Fixes failing Ubuntu 18.04 test.
This commit is contained in:
parent
9fce58301f
commit
5c4eea46ed
@ -13,13 +13,18 @@
|
|||||||
apt: update_cache=true cache_valid_time=600
|
apt: update_cache=true cache_valid_time=600
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Ensure test dependencies are installed.
|
- name: Ensure test dependencies are installed (RedHat).
|
||||||
package: name=iproute state=present
|
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.
|
- name: Gather facts.
|
||||||
action: setup
|
action: setup
|
||||||
|
|
||||||
- name: Use cgroupfs cgroup driver instead of systemd (Red Hat).
|
- name: Use cgroupfs cgroup driver instead of systemd (RedHat).
|
||||||
set_fact:
|
set_fact:
|
||||||
kubernetes_kubelet_extra_args: '"--fail-swap-on=false --cgroup-driver=cgroupfs"'
|
kubernetes_kubelet_extra_args: '"--fail-swap-on=false --cgroup-driver=cgroupfs"'
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
Loading…
Reference in New Issue
Block a user