Beginne Nextcloud-Rolle
This commit is contained in:
commit
db196d0567
15 changed files with 316 additions and 0 deletions
18
tasks/php.yml
Normal file
18
tasks/php.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
|
||||
- name: "Create PHP-FPM-User"
|
||||
user:
|
||||
name: "{{ common_name }}"
|
||||
create_home: no
|
||||
password: "!"
|
||||
shell: /bin/false
|
||||
state: present
|
||||
|
||||
- name: "Copy PHP-FPM configuration"
|
||||
template:
|
||||
src: php_fpm_pool.j2
|
||||
dest: "/etc/php/{{ php_version }}/fpm/pool.d/{{ common_name }}.conf"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart phpfpm
|
Loading…
Add table
Add a link
Reference in a new issue