Install ipvsadm when kube_proxy_mode is ipvs (#3548)
This commit is contained in:
parent
77d705ca9f
commit
a6932b6b81
1 changed files with 5 additions and 0 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue