diff --git a/roles/kubernetes/node/tasks/main.yml b/roles/kubernetes/node/tasks/main.yml index 5b633e76b..69302915f 100644 --- a/roles/kubernetes/node/tasks/main.yml +++ b/roles/kubernetes/node/tasks/main.yml @@ -70,6 +70,8 @@ - name: Verify if br_netfilter module exists shell: "modinfo br_netfilter" + environment: + PATH: "{{ ansible_env.PATH}}:/sbin" # Make sure we can workaround RH's conservative path management register: modinfo_br_netfilter failed_when: modinfo_br_netfilter.rc not in [0, 1] changed_when: false