Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
82930ca3
Verified
Commit
82930ca3
authored
Dec 19, 2020
by
Levente Polyak
🚀
Browse files
security_tracker: restrict access to database to security:security
parent
8e844375
Pipeline
#3756
passed with stage
in 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/security_tracker/tasks/main.yml
View file @
82930ca3
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment