diff --git a/tasks/main.yml b/tasks/main.yml index bbef40c..bb5606f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -46,7 +46,7 @@ notify: Restart php-fpm - 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 }}' when: phpfpm_create_users notify: Restart php-fpm