Skip to content
Snippets Groups Projects
Commit f7fb3caf authored by jurgenhaas's avatar jurgenhaas
Browse files

Option to not use PHP FPM

parent 681d0001
No related branches found
No related tags found
No related merge requests found
......@@ -130,21 +130,25 @@
with_items: '{{ drupal_settings|default([]) }}'
when: item.jail is defined and (limit_site is not defined or item.id is not defined or limit_site == item.id)
- name: "Remove PHP PHP Default Pool"
file:
path='/etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/www.conf'
state='absent'
- block:
- name: "Create PHP Pool"
template:
src='php_pool.conf'
dest='/etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/{{ item.jail.name }}.conf'
owner='root'
group='root'
mode='644'
with_items: '{{ drupal_settings|default([]) }}'
when: item.jail is defined and (limit_site is not defined or item.id is not defined or limit_site == item.id)
notify: "Restart PHP-FPM"
- name: "Remove PHP PHP Default Pool"
file:
path='/etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/www.conf'
state='absent'
- name: "Create PHP Pool"
template:
src='php_pool.conf'
dest='/etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/{{ item.jail.name }}.conf'
owner='root'
group='root'
mode='644'
with_items: '{{ drupal_settings|default([]) }}'
when: item.jail is defined and (limit_site is not defined or item.id is not defined or limit_site == item.id)
notify: "Restart PHP-FPM"
when: php_fpm
- name: "Copy Jail Start Script to user home directory"
template:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment