Skip to content

Instantly share code, notes, and snippets.

@mewm
Created July 8, 2015 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mewm/1d215f1da846d530ead3 to your computer and use it in GitHub Desktop.
Save mewm/1d215f1da846d530ead3 to your computer and use it in GitHub Desktop.
---
- hosts: papi_nodes
sudo: true
gather_facts: yes
vars_files:
- ../vars/local.yml
tasks:
- shell: ls -A /var/www/miinto-papi
register: papidir
roles:
- server
- vagrant_local
- nginx
- mariadb
- php
- { role: php5-xdebug, php_xdebug_remote_host: "10.0.0.60" }
- { role: composer, when: papidir.stdout == '' }
- { role: papi_laravel, when: papidir.stdout == '' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment