Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soctools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gn4-3-wp8-t3.1 SOC
soctools
Commits
14ec088b
Commit
14ec088b
authored
Apr 8, 2021
by
Temur Maisuradze
Browse files
Options
Downloads
Patches
Plain Diff
fix ownership for misp files
parent
fec5749f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/misp/tasks/config.yml
+7
-0
7 additions, 0 deletions
roles/misp/tasks/config.yml
roles/misp/tasks/init.yml
+8
-0
8 additions, 0 deletions
roles/misp/tasks/init.yml
with
15 additions
and
0 deletions
roles/misp/tasks/config.yml
+
7
−
0
View file @
14ec088b
...
...
@@ -17,6 +17,13 @@
register
:
init_output
ignore_errors
:
True
-
name
:
Change file ownership and group
file
:
path
:
/var/www/MISP/app/Config/config.php
owner
:
apache
group
:
apache
mode
:
'
0640'
-
name
:
Set API key fact
set_fact
:
misp_api_key
:
"
{{
init_output.stdout
}}"
...
...
This diff is collapsed.
Click to expand it.
roles/misp/tasks/init.yml
+
8
−
0
View file @
14ec088b
...
...
@@ -57,3 +57,11 @@
-
name
:
Check if database is initialized
command
:
/var/www/MISP/checkdb.sh
-
name
:
Recursively change ownership of a directory
file
:
path
:
/var/www/MISP
state
:
directory
recurse
:
yes
owner
:
apache
group
:
apache
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
sign in
to comment