You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
546 B
22 lines
546 B
---
|
|
- name: Install php-fpm and deps
|
|
yum: name={{ item }} state=present
|
|
with_items:
|
|
- php
|
|
- php-enchant
|
|
- php-IDNA_Convert
|
|
- php-mbstring
|
|
- php-mysql
|
|
- php-PHPMailer
|
|
- php-xml
|
|
- php-gd
|
|
- php-pecl-uploadprogress
|
|
- php-pecl-opcache
|
|
|
|
- name: Disable default pool
|
|
command: mv /etc/php-fpm.d/www.conf /etc/php-fpm.d/www.disabled creates=/etc/php-fpm.d/www.disabled
|
|
notify: restart php-fpm
|
|
|
|
- name: Copy php-fpm configuration
|
|
template: src=wordpress.conf dest=/etc/php-fpm.d/
|
|
notify: restart php-fpm
|
|
|