2020-12-03 15:52:14 +01:00
|
|
|
---
|
2021-06-26 01:45:06 +02:00
|
|
|
- name: "php: {{ instance.domain }}: FPM-Nutzer anlegen"
|
2020-12-03 15:52:14 +01:00
|
|
|
user:
|
2021-06-26 01:45:06 +02:00
|
|
|
name: "{{ instance.user }}"
|
2020-12-03 15:52:14 +01:00
|
|
|
create_home: no
|
|
|
|
password: "!"
|
2021-04-02 10:39:01 +02:00
|
|
|
groups: redis
|
2020-12-03 15:52:14 +01:00
|
|
|
shell: /bin/false
|
|
|
|
state: present
|
|
|
|
|
2021-06-26 01:45:06 +02:00
|
|
|
- name: "php: {{ instance.domain }}: FPM-Pool einrichten"
|
2020-12-03 15:52:14 +01:00
|
|
|
template:
|
|
|
|
src: php_fpm_pool.j2
|
2021-12-21 22:47:24 +01:00
|
|
|
dest: "/etc/php/{{ php_version.stdout }}/fpm/pool.d/{{ instance.user }}.conf"
|
2020-12-03 15:52:14 +01:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
2022-06-09 15:14:48 +02:00
|
|
|
notify: restart phpfpm
|