From f240b7a268aa7d8c1e560fad539abdd45257f0a4 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Mon, 6 Jul 2015 19:46:04 -0500 Subject: [PATCH] Issue #45: Fix PHP-FPM setup and configuration when installing from source x3. --- tasks/install-from-source.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/install-from-source.yml b/tasks/install-from-source.yml index e62a0e4..1719814 100644 --- a/tasks/install-from-source.yml +++ b/tasks/install-from-source.yml @@ -117,6 +117,12 @@ when: "'--enable-fpm' in php_source_configure_command" notify: restart php-fpm +- name: Ensure php-fpm config directory exists. + file: + path: "{{ php_conf_path }}/fpm" + state: directory + when: "'--enable-fpm' in php_source_configure_command" + - name: Ensure php-fpm config file is installed. template: src: php-fpm.conf.j2