21 lines
316 B
YAML
21 lines
316 B
YAML
---
|
|
- name: install php-fpm
|
|
yum:
|
|
name: php-fpm
|
|
state: present
|
|
|
|
- name: start php-fpm
|
|
service:
|
|
name: php-fpm
|
|
state: started
|
|
enabled: true
|
|
|
|
- name: create info file
|
|
copy:
|
|
src: info.php
|
|
dest: "{{ item.documentroot }}/info.php"
|
|
mode: 0644
|
|
with_items:
|
|
- "{{ apache_vhosts }}"
|
|
|