vundb/ansible-role-php

Ansible role to install and configure php on gentoo instances.

1.6.1 2018-09-11 19:39 UTC

This package is auto-updated.

Last update: 2024-05-12 08:15:18 UTC


README

Ansible role to install and configure php on gentoo instances.

Supported Distributions

  • Gentoo

Role Variables

  • php_services: Array with services to be restarted after configuration changes.

  • php_version: PHP Version to be installed. Supported values are [5.6, 7.0, 7.1, 7.2, 7.3]

  • php_extensions: Array with PHP extensions to be installed. Supported values are ["apache2", "fpm"]

  • php_config: Array with configuration entries. See default vars file

Dependencies

vundb/ansible-role-portage

Example Playbook

- hosts: all
  roles:
    - role: vundb-php
      php_version: "7.2"
      php_extensions: ["apache2"]

License

MIT

Author Information

  • You can find more roles in my GitHub channel vundb
  • Follow me on Twitter @vundb