---
- name: ensure homebrew/php is tapped
  homebrew_tap: tap=homebrew/php

- name: ensure php56 is installed/updated
  homebrew: name=php56 state=latest install_options=without-pear

- name: ensure composer is installed/updated
  homebrew: name=composer state=latest

- name: ensure composer is installed/updated
  homebrew: name=composer state=latest

- name: ensure drush is installed
  shell: composer global require drush/drush:dev-master
  args:
    creates: ~/.composer/vendor/drush

- name: ensure configuration is added to stack.d
  copy: src={{ item }} dest={{ stack_d }}
  with_items:
    - drupal.zsh

- name: ensure valkyrie is installed
  command: ~/.composer/vendor/bin/drush
  args:
    creates: ~/.drush/valkyrie

---
- name: ensure homebrew/php is tapped
  homebrew_tap: tap=homebrew/php

- name: ensure php56 is installed/updated
  homebrew: name=php56 state=latest install_options=without-pear

- name: ensure composer is installed/updated
  homebrew: name=composer state=latest

- name: ensure composer is installed/updated
  homebrew: name=composer state=latest

- name: ensure drush is installed
  shell: composer global require drush/drush:dev-master
  args:
    creates: ~/.composer/vendor/drush/drush

- name: ensure drupal console is installed
  shell: composer global require drupal/console:@stable
  args:
    creates: ~/.composer/vendor/drupal/console

- name: ensure configuration is added to stack.d
  copy: src={{ item }} dest={{ stack_d }}
  with_items:
    - drupal.zsh

- name: ensure valkyrie is installed
  command: ~/.composer/vendor/bin/drush
  args:
    creates: ~/.drush/valkyrie

Add drupal console to installation.
Add drupal console to installation.
