mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-23 05:56:02 -03:30
fix: provide an option to ignore sysctl errors about unknown keys (#12514)
* fix: provide an option to ignore sysctl errors about unknown keys * fix: rename sysctl_ignoreerrors and remove useless var definitions
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
sysctl_file: "{{ sysctl_file_path }}"
|
||||
state: present
|
||||
reload: true
|
||||
ignoreerrors: "{{ sysctl_ignore_unknown_keys }}"
|
||||
when: kube_apiserver_node_port_range is defined
|
||||
tags:
|
||||
- kube-proxy
|
||||
@@ -100,6 +101,7 @@
|
||||
sysctl_file: "{{ sysctl_file_path }}"
|
||||
value: "1"
|
||||
reload: true
|
||||
ignoreerrors: "{{ sysctl_ignore_unknown_keys }}"
|
||||
when: sysctl_bridge_nf_call_iptables.rc == 0
|
||||
with_items:
|
||||
- net.bridge.bridge-nf-call-iptables
|
||||
|
||||
Reference in New Issue
Block a user