|
@@ -136,6 +136,11 @@
|
|
|
- virtualenvwrapper
|
|
|
state: present
|
|
|
|
|
|
- name: Install base packages for PHP web applications
|
|
|
apt:
|
|
|
name: "{{ php_fpm_package_name }}"
|
|
|
state: present
|
|
|
|
|
|
- name: Create directories for storing per-site socket files
|
|
|
file:
|
|
|
path: "/run/{{ item }}"
|
|
@@ -160,11 +165,6 @@
|
|
|
- socket_dir: php
|
|
|
tmpfiles_d: "{{ php_fpm_service_name }}.conf"
|
|
|
|
|
|
- name: Install base packages for PHP web applications
|
|
|
apt:
|
|
|
name: "{{ php_fpm_package_name }}"
|
|
|
state: present
|
|
|
|
|
|
- name: Create directory for storing PHP-FPM service configuration overrides
|
|
|
file:
|
|
|
path: "/etc/systemd/system/{{ php_fpm_service_name }}.service.d/"
|
|
@@ -181,6 +181,7 @@
|
|
|
group: root
|
|
|
mode: 0644
|
|
|
notify:
|
|
|
- Reload systemd
|
|
|
- Restart PHP-FPM
|
|
|
|
|
|
- name: Enable service used for running PHP web applications
|