You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
478 B
YAML

---
- name: Install required packages
apt:
name:
- "{{ phpfpm_package }}"
state: present
- name: Remove default php-fpm pool
file:
path: "{{ phpfpm_pools_directory }}/www.conf"
notify: "reload {{ phpfpm_package }}"
- name: Create sockets directory
file:
path: "{{ phpfpm_sockets_directory }}"
state: directory
owner: root
group: root
mode: "u=rwx,g=rx,o=rx"
#
#- name: Configure php-fpm
# notify: "reload {{ phpfpm_package }}"