Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gn4-3-wp8-t3.1 SOC
soctools
Commits
14ec088b
Commit
14ec088b
authored
Apr 08, 2021
by
Temur Maisuradze
Browse files
fix ownership for misp files
parent
fec5749f
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/misp/tasks/config.yml
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
}}"
...
...
roles/misp/tasks/init.yml
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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