Option: autoremove default pool
							parent
							
								
									ade8aaad9e
								
							
						
					
					
						commit
						c0922f8430
					
				| 
						 | 
				
			
			@ -5,6 +5,7 @@ php_install_fpm: true
 | 
			
		|||
php_install_xdebug: false
 | 
			
		||||
php_extra_packages: []
 | 
			
		||||
php_xdebug_package: null
 | 
			
		||||
php_autoremove_default_pool: false
 | 
			
		||||
 | 
			
		||||
# php.ini config
 | 
			
		||||
php_ini:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,7 @@
 | 
			
		|||
    php_extra_packages:
 | 
			
		||||
      - '{{ php_package_prefix }}pgsql'
 | 
			
		||||
    php_install_xdebug: true
 | 
			
		||||
    php_autoremove_default_pool: true
 | 
			
		||||
    php_ini_fpm:
 | 
			
		||||
      display_errors: 'Off'
 | 
			
		||||
    php_ini_cli:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue