ansible-role-nextcloud/tasks/php.yml

18 lines
441 B
YAML

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