Option: autoremove default pool

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

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