fpm: don't extend pool-dependency if no pool
This commit is contained in:
parent
4a0dfac0b0
commit
e18b2be86d
@ -13,6 +13,7 @@ include:
|
|||||||
- php.ng.fpm.service
|
- php.ng.fpm.service
|
||||||
- php.ng.fpm.pools_config
|
- php.ng.fpm.pools_config
|
||||||
|
|
||||||
|
{% if pool_states %}
|
||||||
extend:
|
extend:
|
||||||
php_fpm_service:
|
php_fpm_service:
|
||||||
service:
|
service:
|
||||||
@ -20,3 +21,4 @@ extend:
|
|||||||
{{ file_requisites(pool_states) }}
|
{{ file_requisites(pool_states) }}
|
||||||
- require:
|
- require:
|
||||||
{{ file_requisites(pool_states) }}
|
{{ file_requisites(pool_states) }}
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user