Skip to content
Snippets Groups Projects
Commit 25d5dd96 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

Merge branch 'th/php-fpm-groups' into 'master'

php-fpm: Allow specifying additional groups for the user

See merge request !7
parents 1b91ed47 d324d218
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment