Option: autoremove default pool

This commit is contained in:
Emilien Mantel committed 2019-12-26 16:42:16 +01:00
1 parent ade8aaad9e
commit c0922f8430
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -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