Skip to content
Snippets Groups Projects
Commit dfcef293 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

php-fpm: Allow specifying additional groups for the user

parent e60fa23e
No related branches found
No related tags found
2 merge requests!12Remove scip/zimpl binaries from shared repository,!7php-fpm: Allow specifying additional groups for the user
Pipeline #2769 passed
...@@ -31,12 +31,15 @@ ...@@ -31,12 +31,15 @@
user: user:
name: "{{ item.name }}" name: "{{ item.name }}"
group: "{{ item.name }}" group: "{{ item.name }}"
groups: "{{ item.groups|default([]) }}"
system: true system: true
home: "{{ item.home|default('/var/www/' ~ item.name) }}" home: "{{ item.home|default('/var/www/' ~ item.name) }}"
shell: /usr/bin/nologin shell: /usr/bin/nologin
createhome: false createhome: false
state: present state: present
with_items: "{{ fpm_pools|default([]) }}" with_items: "{{ fpm_pools|default([]) }}"
notify:
- restart php-fpm
- name: ensure we have all the pools we want - name: ensure we have all the pools we want
template: template:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment