From 649c6b161b867ab6dd7c5108c1c2044ddda1242a Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Wed, 23 Jan 2019 16:34:12 +0100 Subject: [PATCH] Fix start PHP-FPM on Docker --- tests/includes/pre_Debian.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/includes/pre_Debian.yml b/tests/includes/pre_Debian.yml index b0a3315..f50a922 100644 --- a/tests/includes/pre_Debian.yml +++ b/tests/includes/pre_Debian.yml @@ -78,12 +78,13 @@ name: "fcgiwrap" state: started +# Bypasses Ansible+Docker issue. With service module... php is not really started! - name: COMMAND | Force start PHP - service: - name: "{{ item.version | php_fpm_service }}" - state: started + command: "service {{ item.version | php_fpm_service }} start" + args: + creates: "{{ item.version | php_default_upstream_socket }}" + warn: false loop: "{{ nginx_php }}" - when: apt_php.changed - name: GET_URL | Download ngrok get_url: