File: ansible/roles/php/tasks/main.yml

Recommend this page to a friend!
  Classes of Omar Shaban  >  PHP Game of Three  >  ansible/roles/php/tasks/main.yml  >  Download  
File: ansible/roles/php/tasks/main.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Game of Three
Game of Three implementation using Websockets
Author: By
Last change:
Date: 3 months ago
Size: 463 bytes
 

Contents

Class file image Download
---
- name: Add ppa Repository
  sudo: yes
  apt_repository: repo=ppa:ondrej/{{ php.ppa }}

- name: Update apt
  sudo: yes
  apt: update_cache=yes

- name: Install php5
  sudo: yes
  apt: pkg=php5 state=latest

- name: Install php5-fpm
  sudo: yes
  apt: pkg=php5-fpm state=latest

- name: Install PHP Packages
  sudo: yes
  apt: pkg={{ item }} state=latest
  with_items: php.packages
  when: php.packages is defined

- include: configure.yml
- include: pecl.yml
For more information send a message to info at phpclasses dot org.