From 1335099d778331317271a71bf4146cc454c824e1 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 10 Jun 2016 22:22:47 -0500 Subject: [PATCH] Make sure php_fpm_pool_user and _group are updated in config. --- tasks/configure-fpm.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/configure-fpm.yml b/tasks/configure-fpm.yml index e2e360f..00f7427 100644 --- a/tasks/configure-fpm.yml +++ b/tasks/configure-fpm.yml @@ -49,6 +49,10 @@ line: "{{ item.line }}" state: present with_items: + - regexp: "^user.?=.+$" + line: "user = {{ php_fpm_pool_user }}" + - regexp: "^group.?=.+$" + line: "group = {{ php_fpm_pool_group }}" - regexp: "^listen.?=.+$" line: "listen = {{ php_fpm_listen }}" - regexp: '^listen\.allowed_clients.?=.+$'