damianlewis.apache_php_fpm

Ansible Role: Apache PHP-FPM

This role sets up Apache to work with PHP-FPM.

Requirements

You need to have PHP-FPM installed on your server for this role to work.

Role Variables

You can find the available variables below. Check defaults/main.yml for the default values.

apache_php_fpm_conf_files:
- php7.1-fpm
- php7.2-fpm

By default, PHP-FPM version 7.0 is activated. You can change the activated versions by adding them to the apache_php_fpm_conf_files variable.

Dependencies

This role depends on damianlewis.apache.

Example Playbook

- hosts: server
  become: yes

  vars:
    apache_sites:
    - hostname: www.example.com
      root: /var/www/html

  tasks:
  - import_role:
      name: damianlewis.apache
  - import_role:
      name: damianlewis.apache-php-fpm
Informazioni sul progetto

Configures Apache to support PHP-FPM

Installa
ansible-galaxy install damianlewis.apache_php_fpm
Licenza
Unknown
Download
102
Proprietario