Skip to content
Snippets Groups Projects

php-fpm: Allow specifying additional groups for the user

Merged Thomas Schneider requested to merge th/php-fpm-groups into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -31,12 +31,15 @@
user:
name: "{{ item.name }}"
group: "{{ item.name }}"
groups: "{{ item.groups|default([]) }}"
system: true
home: "{{ item.home|default('/var/www/' ~ item.name) }}"
shell: /usr/bin/nologin
createhome: false
state: present
with_items: "{{ fpm_pools|default([]) }}"
notify:
- restart php-fpm
- name: ensure we have all the pools we want
template:
Loading