Ansible Collection - mafalb.php

role: mafalb.php.cli

Usage

- hosts: localhost

  roles:

  - role: mafalb.php.cli
    scl: rh-php70

Variables

scl: rh_php70 # set if you install a SCL

scl_enabled: true # enable it automatically [default: false]

role: mafalb.php.fpm

Usage

- hosts: localhost

  roles:

  - role: mafalb.php.fpm
    scl: rh-php70
    php_fpm_pools:
      - name: mypool
        user: myuser
        group: mygroup
        listen: /path/to/unix/socket
        other_php_fpm_config_directive: gugu
        ...

Variables

scl: rh_php70 # set if you install a SCL

extensions:
- php-mysqlnd
- php-pdo

php_fpm_pools: [...] a list of pools