Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
webservices
Commits
dfcef293
Commit
dfcef293
authored
Jan 15, 2021
by
Thomas Schneider
Browse files
php-fpm: Allow specifying additional groups for the user
parent
e60fa23e
Pipeline
#2769
passed with stage
in 1 minute and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
php-fpm/tasks/main.yml
View file @
dfcef293
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment