ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 ;
; !!! This file is managed by Ansible !!!
;

[{{ item.key }}]
user = {{ item.value.user }}
group = {{ item.value.group }}

listen = {{ item.value.listenerPath | default("/run/php-fpm/php-fpm-{{ item.key }}.sock") }}
listen.owner = {{ item.value.listenerOwner | default("nginx") }}
listen.group = {{ item.value.listenerGroup | default("nginx") }}

pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3

{% if item.value.extraConfig is defined %}
{{ item.value.extraConfig }}
{% endif %}