Skip to content

Aplyca/ansible-role-php

Repository files navigation

Ansible Role: PHP 5.x

Build Status Circle CI

Ansible Role that installs and configure PHP 5.x on Debian/Ubuntu.

Requirements

Use hash behavior for variables in ansible.cfg See example: https://github.com/Aplyca/ansible-role-php/blob/master/tests/ansible.cfg See official docs: http://docs.ansible.com/intro_configuration.html#hash-behaviour

Installation

Using ansible galaxy:

ansible-galaxy install Aplyca.PHP

You can add this role as a dependency for other roles, add the role to the meta/main.yml file of your own role:

dependencies:
  - { role: Aplyca.PHP }

Features

  • PHP 5.6
  • Install modules
  • Composer
  • OPCache
  • Configure all PHP core and extensions settings
  • Apache integration

Role Variables

See default variables: https://github.com/Aplyca/ansible-role-php/blob/master/defaults/main.yml

Dependencies

None.

Testing

Use Vagrant to test the role:

cd tests;
vagrant up;

License

MIT / BSD

Author Information

Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)

About

Ansible role for install PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages