-
Notifications
You must be signed in to change notification settings - Fork 43
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
Failed to "Gather current kern.ipc.somaxconn setting" on FreeBSD 14.1 Release #246
Comments
Hi, Please use the github issue template to report this issue. |
Hmm, I get the same error with FreeBSD 14.0 |
Thanks for reproducing it on FreeBSD 14.0 as well. |
ansible version - 2.14.3 Control Machine: Target Machine: Playbook Information:
Debug Info:
|
concpt:
ansible version - 2.14.3
This ansible version is lower than the required ansible version.
What output does this command produce on your FreeBSD 14.0 server?
which sysctl
|
Regarding the ansible version, I was using the debian package so it was out of date. I have now updated it to 2.17.3 Here is the output:
|
This branch might solve your issue: It has only a single change in it: Can you test and confirm it solves your issue? |
It works, thank you! |
When I run my playbook to setup relays on my new FreeBSD server, it gives me an error that it can't find sysctl but I can run sysctl command perfectly fine when logged in.
The full traceback is: File "/tmp/ansible_ansible.legacy.command_payload_0otevaep/ansible_ansible.legacy.command_payload.zip/ansible/module_utils/basic.py", line 2022, in run_command cmd = subprocess.Popen(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/local/lib/python3.11/subprocess.py", line 1955, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) fatal: [hms9]: FAILED! => { "changed": false, "cmd": "sysctl -n kern.ipc.somaxconn", "invocation": { "module_args": { "_raw_params": "sysctl -n kern.ipc.somaxconn", "_uses_shell": false, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "msg": "[Errno 2] No such file or directory: b'sysctl'",
The text was updated successfully, but these errors were encountered: