forked from ISTI-ansible-roles/ansible-roles
library/roles/php-fpm: Create a new user by default.
This commit is contained in:
parent
2065f68af2
commit
125657de30
|
@ -36,9 +36,9 @@ phpfpm_event_mechanism: epoll
|
||||||
phpfpm_default_pool_name: "www"
|
phpfpm_default_pool_name: "www"
|
||||||
phpfpm_remove_default_pool: False
|
phpfpm_remove_default_pool: False
|
||||||
phpfpm_use_default_template: True
|
phpfpm_use_default_template: True
|
||||||
phpfpm_create_users: False
|
phpfpm_create_users: True
|
||||||
phpfpm_default_user: www-data
|
phpfpm_default_user: php-fpm
|
||||||
phpfpm_default_group: www-data
|
phpfpm_default_group: php-fpm
|
||||||
phpfpm_default_listen: "127.0.0.1:9000"
|
phpfpm_default_listen: "127.0.0.1:9000"
|
||||||
phpfpm_default_allowed_clients: "127.0.0.1"
|
phpfpm_default_allowed_clients: "127.0.0.1"
|
||||||
phpfpm_default_pm: "dynamic"
|
phpfpm_default_pm: "dynamic"
|
||||||
|
|
|
@ -36,9 +36,9 @@ listen.allowed_clients = {{ item.allowed_clients | default ('127.0.0.1') }}
|
||||||
; Note: The user is mandatory. If the group is not set, the default user's group
|
; Note: The user is mandatory. If the group is not set, the default user's group
|
||||||
; will be used.
|
; will be used.
|
||||||
; RPM: apache Choosed to be able to access some dir as httpd
|
; RPM: apache Choosed to be able to access some dir as httpd
|
||||||
user = {{ item.user | default('www-data') }}
|
user = {{ item.user | default('php-fpm') }}
|
||||||
; RPM: Keep a group allowed to write in log dir.
|
; RPM: Keep a group allowed to write in log dir.
|
||||||
group = {{ item.group | default('www-data') }}
|
group = {{ item.group | default('php-fpm') }}
|
||||||
|
|
||||||
; Choose how the process manager will control the number of child processes.
|
; Choose how the process manager will control the number of child processes.
|
||||||
; Possible Values:
|
; Possible Values:
|
||||||
|
|
Loading…
Reference in New Issue