Commit 14ec088b authored by Temur Maisuradze's avatar Temur Maisuradze
Browse files

fix ownership for misp files

parent fec5749f
......@@ -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
Markdown is supported
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