-
-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sysctl-setup.yml doesn't recognize Ubuntu 20.04 #92
Comments
Strangely, I'm also running into this on Debian 10 over in geerlingguy/raspberry-pi-dramble#187 |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
not stale, see existing PR |
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details. |
/reopen please |
This issue is no longer marked for closure. |
1 similar comment
This issue is no longer marked for closure. |
I'm using this role in CentOS 7 on Vagrant (centos/7 box) and I'm stepping in the same problem with sysctl-setup.yml |
I only had to add the following before the "Let iptables see bridged traffic." step
I also added this to the loop to the mentioned step
The rest of the changes in the PR seem to be optional. Hat's off to @geerlingguy on this tool though, thank you! Next time I'm in Saint Louis let me buy you a beer 🍻 |
I'm hitting this just now with latest from master. Trying to get a Kubernetes 1.25 cluster going
was there an existing PR that fixes this? |
I faced the same problem. |
I can't find it, so I have created a PR #139 . |
It works like a charm! |
Received this error while using this role to install k8s on an ubuntu 20.04 server.
{
"msg": "Failed to reload sysctl: kernel.panic = 10\nnet.ipv6.conf.all.disable_ipv6 = 1\nsysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory\n",
"invocation": {
"module_args": {
"name": "net.bridge.bridge-nf-call-iptables",
"value": "1",
"state": "present",
"reload": true,
"sysctl_set": false,
"ignoreerrors": false,
"sysctl_file": "/etc/sysctl.conf"
}
},
"_ansible_no_log": false,
"changed": false,
"item": "net.bridge.bridge-nf-call-iptables",
"ansible_loop_var": "item",
"_ansible_item_label": "net.bridge.bridge-nf-call-iptables"
}
This is from the server:
"ansible_distribution": "Ubuntu",
"ansible_distribution_file_parsed": true,
"ansible_distribution_file_path": "/etc/os-release",
"ansible_distribution_file_variety": "Debian",
"ansible_distribution_major_version": "20",
"ansible_distribution_release": "focal",
"ansible_distribution_version": "20.04",
Maybe switch from "ansible_distribution" to "ansible_os_family": "Debian"
The text was updated successfully, but these errors were encountered: