Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akondas/ansible-role-php7
Ansible Role - PHP 7
https://github.com/akondas/ansible-role-php7
ansible php
Last synced: 14 days ago
JSON representation
Ansible Role - PHP 7
- Host: GitHub
- URL: https://github.com/akondas/ansible-role-php7
- Owner: akondas
- License: mit
- Created: 2015-12-03T21:45:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-17T06:02:33.000Z (about 5 years ago)
- Last Synced: 2024-10-11T13:13:40.271Z (about 1 month ago)
- Topics: ansible, php
- Homepage: https://galaxy.ansible.com/itcraftsmanpl/php7/
- Size: 14.6 KB
- Stars: 40
- Watchers: 6
- Forks: 45
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list-ansible - ansible-role-php7 - PHP 7 (php)
README
# Ansible Role: PHP7
https://galaxy.ansible.com/itcraftsmanpl/php7/
An Ansible role that installs and configure PHP 7 on Debian/Ubuntu servers.
Current PHP7 version: **7.1.2**
## Requirements
1. Vagrant ([latest version](https://www.vagrantup.com/downloads.html))
2. Ansible ([installation instructions](http://docs.ansible.com/intro_installation.html))
3. Virtual Box ([download](https://www.virtualbox.org/wiki/Downloads))## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
php_ppa: "ppa:ondrej/php"
php_packages:
- php7.1-common
- php7.1-cli
- php7.1-intl
- php7.1-curl
- php7.1-cgi
- php7.1-fpm
- php7.1-mysql
- php7.1-gd
- php7.1-mbstring
- php7.1-mcrypt
php_timezone: Europe/Warsaw
php_upload_max_filesize: "20M"
php_post_max_size: "20M"
php_memory_limit: "1024M"
php_max_execution_time: 60php_opcache_enable: 1
php_opcache_revalidate_freq: 2592000
php_opcache_opcache_validate_timestamps: 1
php_opcache_max_accelerated_files: 20000
php_opcache_memory_consumption: 192
php_opcache_interned_strings_buffer: 16
php_opcache_fast_shutdown: 1php_allow_url_fopen: 0
## Dependencies
None.
## Example Playbook
- hosts: webservers
roles:
- { role: itcraftsmanpl.php7 }## License
MIT