---
- name: Install Node.js packages
  action: npm name={{ item }} state=latest global=yes
  with_items:
    - gulp
    - ember-cli

- name: Create app directories
  action: file path={{ item }} state=directory
  with_items:
    - /u/apps/knowhow/frontend
    - /u/apps/knowhow/backend

---
- name: Install Node.js packages
  action: npm name={{ item }} state=latest global=yes
  with_items:
    - gulp
    - ember-cli

- name: Create app directories
  action: file path={{ item }} state=directory
  with_items:
    - /u/apps/knowhow/frontend
    - /u/apps/knowhow/backend

- name: Check out app repositories
  action: git repo={{ item.repo }} dest={{ item.dest }} update=no
  with_items:
    - repo: git@github.com:Pitt-CSC/knowhow-frontend.git
      dest: /u/apps/knowhow/frontend
    - repo: git@github.com:Pitt-CSC/knowhow-backend.git
      dest: /u/apps/knowhow/backend

Check out repositories for Knowhow
Check out repositories for Knowhow
