nextcloud
nextcloud copied to clipboard
missing nc_datadir variable in roles/nc_fail2ban/tasks/selinux.yml
if you adjust the data path in the inventory file the task nc_fail2ban / selinux aborts because the path variable is missing in the file.
I replaced the path with {{ nc_datadir }} ...
``➜ ~ cat selinux.yml
---
- name: enable seboolean settings
command: semodule -i {{ role_path }}/files/fail2ban-server.pp
- name: restorecon
command: restorecon -Rv {{ nc_datadir }}/nextcloud.log