ansible-role-nextcloud/tasks/php.yml

19 lines
376 B
YAML

---
- name: "PHP FPM-Nutzer anlegen"
user:
name: "{{ user }}"
create_home: no
password: "!"
groups: redis
shell: /bin/false
state: present
- name: "PHP FPM-Pool einrichten"
template:
src: php_fpm_pool.j2
dest: "/etc/php/{{ php_version }}/fpm/pool.d/{{ user }}.conf"
owner: root
group: root
mode: 0644
notify: restart phpfpm