Skip to content
Snippets Groups Projects
Commit 14ec088b authored by Temur Maisuradze's avatar Temur Maisuradze
Browse files

fix ownership for misp files

parent fec5749f
Branches
Tags
No related merge requests found
......@@ -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 }}"
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment