Install ipvsadm when kube_proxy_mode is ipvs (#3548)

This commit is contained in:
Erwan Miran 2018-11-07 23:04:11 +01:00 committed by k8s-ci-robot
parent 77d705ca9f
commit a6932b6b81

View file

@ -80,6 +80,11 @@
tags: tags:
- bootstrap-os - bootstrap-os
- name: Update common_required_pkgs with ipvsadm when kube_proxy_mode is ipvs
set_fact:
common_required_pkgs: "{{ common_required_pkgs|default([]) + ['ipvsadm'] }}"
when: kube_proxy_mode == 'ipvs'
- name: Install packages requirements - name: Install packages requirements
action: action:
module: "{{ ansible_pkg_mgr }}" module: "{{ ansible_pkg_mgr }}"