mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-11-12 04:24:04 +07:00
Option: autoremove default pool
This commit is contained in:
1 parent
ade8aaad9e
commit
c0922f8430
3 files changed
+3
-1
No files matched your search
+1
-1
@@ -32,5 +32,5 @@
|
||||
file:
|
||||
path: "{{ php_fpm_pool_dir }}/www.conf"
|
||||
state: absent
|
||||
when: '"www" not in (ansible_local.hanxhx_php.fpm_pool | map(attribute="name") | list)'
|
||||
when: '"www" not in (ansible_local.hanxhx_php.fpm_pool | map(attribute="name") | list) and php_autoremove_default_pool'
|
||||
notify: restart php-fpm
|
||||
Reference in new issue
Block a user