ansible-openwisp2 icon indicating copy to clipboard operation
ansible-openwisp2 copied to clipboard

[fix] Corrected FreeRADIUS directory

Open lukas-mika opened this issue 1 year ago • 3 comments

Modified freeradius_dir to include the 3.0/ directory

lukas-mika avatar Jan 17 '24 12:01 lukas-mika

Fixes #398

lukas-mika avatar Jan 17 '24 12:01 lukas-mika

I think this is already handled here

https://github.com/openwisp/ansible-openwisp2/blob/ce426d33759db9e3d9ea5048521c226676473d88/tasks/freeradius.yml#L2-L32

pandafy avatar Jan 19 '24 08:01 pandafy

Well, it looks like it should (line 29-32), but at least for me the ansible role still fails with the error message, that the directory /etc/freeradius/mods-available/sql does not exist (same as in first post in #398). When changing as suggested here, it will successfully processes.

Maybe the error is thrown a little earlier in the role execution, before it reaches the file you posted?

lukas-mika avatar Jan 20 '24 00:01 lukas-mika

This change as is can't be accepted because it causes issues to systems which are using newer versions of freeradius. I am closing for now. Feel free to reopen supplying a patch that can work in all the supported cases. Thank you for contributing.

nemesifier avatar Jul 03 '24 22:07 nemesifier