: add userdata dir to php
All checks were successful
ansible-lint / lint-everything (push) Successful in 4s

This commit is contained in:
VC
2025-03-09 08:50:13 +01:00
parent 9c36560f11
commit 0278b95bcf
2 changed files with 11 additions and 0 deletions

View File

@@ -25,3 +25,11 @@
loop: "{{ php_modules }}" loop: "{{ php_modules }}"
notify: notify:
- Restart php-fpm - Restart php-fpm
- name: Create standard php app data dir
ansible.builtin.file:
state: directory
dest: "{{ php_data_dir }}"
owner: www-data
group: www-data
mode: "0o750"

3
roles/php/vars/main.yml Normal file
View File

@@ -0,0 +1,3 @@
---
php_data_dir: /srv/www-data