Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
guddl opened this issue Oct 8, 2022 · 0 comments
Open

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

guddl opened this issue Oct 8, 2022 · 0 comments

Comments

@guddl
Copy link

guddl commented Oct 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant