Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
217 B

#!/bin/sh
restorecon -R {{ itop_root_dir }}
chown -R {{ itop_php_user }} {{ itop_root_dir }}/data
chmod 700 {{ itop_root_dir }}/data
setfacl -R -m u:{{ httpd_user | default('apache') }}:rX {{ itop_root_dir }}/data