ansible-openwisp2
ansible-openwisp2 copied to clipboard
[fix] Corrected FreeRADIUS directory
Modified freeradius_dir to include the 3.0/ directory
Fixes #398
I think this is already handled here
https://github.com/openwisp/ansible-openwisp2/blob/ce426d33759db9e3d9ea5048521c226676473d88/tasks/freeradius.yml#L2-L32
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?
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.