FloeDesignTechnologies.php-cli

Build Status

Ansible PHP CLI

Ansible role to install php-cli.

Role Variables

The role uses the following variables

  • php_cli_apt_packages: The APT packages to install, defaults to [php5-cli].
  • php_cli_ini: Customization for php-cli's php.ini as a list of options, each option is a hash using the following structure:
    • option: The name of the option.
    • value: The string value to be associated with the option.
    • section: Section name in INI file.

Usage

- role: php-cli
  php_cli_config:
     - option: "display_errors"
       section: "PHP"
       value: "1"
     - option: "error_reporting"
       section: "PHP"
       value: "E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED"

License

Apache v2

Author Information

Pierre Buyle buyle@pheromone.ca

About

Ansible role to install PHP Cli.

Install
ansible-galaxy install FloeDesignTechnologies.php-cli
GitHub repository
License
apache-2.0
Downloads
617
Owner
Floe is a Montreal-based techno-creative atelier that offers strategy, design and technology to organizations large and small.