ansible-pet/1/roles/php/tasks/main.yml

14 lines
355 B
YAML

---
- name: Install php-fpm package and deps
apt:
name: ['php-fpm', 'php-imagick', 'php-memcached', 'php-zip', 'php-mysql', 'php-gd', 'php-mbstring', 'php-xml']
state: present
- name: Configure php-fpm pools
template:
src: files/pool.d/www.conf
dest: /etc/php/7.4/fpm/pool.d/{{ item }}.conf
loop:
- cloud
- wiki
- other