✨: add userdata dir to php
All checks were successful
ansible-lint / lint-everything (push) Successful in 4s
All checks were successful
ansible-lint / lint-everything (push) Successful in 4s
This commit is contained in:
@@ -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
3
roles/php/vars/main.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
php_data_dir: /srv/www-data
|
Reference in New Issue
Block a user