---
- include: common.yml

# This is a setup for vagrant host, inherits from all
- hosts: default
  sudo: yes
  roles:
    - kernel
    - nodejs
    - { role: php, use_php56: true, use_xdebug: true, activate_xdebug: false }
    - { role: mysql, use_mysql56: true, use_mysql_dev: true }
    - { role: composer, use_composer_no_dev: no, install_vendors: false }
    - { role: mailcatcher }

  tasks:
    - name: restart Apache
      service: name=apache2 state=restarted
      sudo: yes

---
- include: common.yml

# This is a setup for vagrant host, inherits from all
- hosts: default
  sudo: yes
  roles:
    - kernel
    - nodejs
    - { role: php, use_php56: true, use_php5_fpm: false, use_xdebug: true, activate_xdebug: false }
    - { role: mysql, use_mysql56: true, use_mysql_dev: true }
    - { role: composer, use_composer_no_dev: no, install_vendors: false }
    - { role: mailcatcher }

  tasks:
    - name: restart Apache
      service: name=apache2 state=restarted
      sudo: yes

Disable PHP5 FPM by default
Disable PHP5 FPM by default
