ansible-role-nextcloud/tasks/php.yml

19 lines
448 B
YAML
Raw Normal View History

2020-12-03 15:52:14 +01:00
---
- name: "php: {{ instance.domain }}: FPM-Nutzer anlegen"
2020-12-03 15:52:14 +01:00
user:
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
- name: "php: {{ instance.domain }}: FPM-Pool einrichten"
2020-12-03 15:52:14 +01:00
template:
src: php_fpm_pool.j2
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
notify: restart phpfpm