Prevent creation of log dir if defined
This commit is contained in:
parent
d8b0c89506
commit
9354d71dc1
2 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
php_fpm_log_dir: /var/log/phpfpm
|
||||
php_fpm_create_log_dir: true
|
||||
php_fpm_pool_dir: "/etc/php/{{ php_version.stdout }}/fpm/pool.d"
|
||||
php_fpm_pool_config_file: "{{ php_fpm_pool_dir }}/%i.cfg"
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
path: "{{ php_fpm_log_dir }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
when: php_fpm_create_log_dir
|
||||
|
||||
- name: "PHP | Copy template for PHP-FPM systemd service and socket"
|
||||
ansible.builtin.template:
|
||||
|
|
Loading…
Reference in a new issue