fix: remove set attributes on homes directories
This commit is contained in:
parent
c9b88165a8
commit
8988e92092
2 changed files with 0 additions and 12 deletions
|
@ -1,13 +1,3 @@
|
||||||
- name: set attributes on homes directories
|
|
||||||
file:
|
|
||||||
path: '{{ item.home }}'
|
|
||||||
owner: '{{ item.user }}'
|
|
||||||
group: www-data
|
|
||||||
mode: 0750
|
|
||||||
state: directory
|
|
||||||
with_items: '{{ phpfpm_pools }}'
|
|
||||||
tags: phpfpm
|
|
||||||
|
|
||||||
- name: check if pools log files exist
|
- name: check if pools log files exist
|
||||||
stat:
|
stat:
|
||||||
path: '{{ phpfpm_dir_log }}/{{ item[0].name }}.{{ item[1] }}'
|
path: '{{ phpfpm_dir_log }}/{{ item[0].name }}.{{ item[1] }}'
|
||||||
|
|
|
@ -4,10 +4,8 @@
|
||||||
phpfpm_pools:
|
phpfpm_pools:
|
||||||
- name: website1
|
- name: website1
|
||||||
user: www
|
user: www
|
||||||
home: /opt/www
|
|
||||||
- name: website2
|
- name: website2
|
||||||
user: www
|
user: www
|
||||||
home: /opt/website2
|
|
||||||
pm: static
|
pm: static
|
||||||
pm_max_children: 4
|
pm_max_children: 4
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue