Skip to content

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

Description

@guddl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions