nextcloud icon indicating copy to clipboard operation
nextcloud copied to clipboard

missing nc_datadir variable in roles/nc_fail2ban/tasks/selinux.yml

Open guddl opened this issue 3 years ago • 0 comments

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

guddl avatar Oct 08 '22 17:10 guddl