The users are system users.
This commit is contained in:
parent
b3563b509c
commit
e44a093d5b
|
|
@ -46,7 +46,7 @@
|
||||||
notify: Restart php-fpm
|
notify: Restart php-fpm
|
||||||
|
|
||||||
- name: Create the users under the php-fpm processes will run
|
- name: Create the users under the php-fpm processes will run
|
||||||
user: name={{ item.user }} comment="{{ item.user }}" home=/dev/null createhome=no shell=/usr/sbin/nologin
|
user: name={{ item.user }} comment="{{ item.user }}" home=/dev/null createhome=no shell=/usr/sbin/nologin system=yes
|
||||||
with_items: '{{ phpfpm_pools }}'
|
with_items: '{{ phpfpm_pools }}'
|
||||||
when: phpfpm_create_users
|
when: phpfpm_create_users
|
||||||
notify: Restart php-fpm
|
notify: Restart php-fpm
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue