Verified Commit 82930ca3 authored by Levente Polyak's avatar Levente Polyak 🚀
Browse files

security_tracker: restrict access to database to security:security

parent 8e844375
Pipeline #3756 passed with stage
in 48 seconds
......@@ -70,6 +70,9 @@
become_user: security
command: /usr/bin/make chdir="{{ security_tracker_dir }}" creates=*.db
- name: restrict database permissions
file: mode=0640 owner=security group=security path="{{ security_tracker_dir }}/tracker.db"
- name: set up nginx
template: src=nginx.d.conf.j2 dest="{{ security_tracker_nginx_conf }}" owner=root group=root mode=644
notify:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment