---
# file: roles/common/tasks/main.yml
- name: make sure debootstrap is installed
  shell: type debootstrap

- name: make sure rinse is installed
  shell: type rinse

- name: make sure docker is running
  service: name=docker state=running

- name: execute stage 0 build
  shell: sudo roles/common/files/stage-0.sh

- name: execute stage 1 build
  script: stage-1.sh debian7-amd64.dockerfile

---
# file: roles/common/tasks/main.yml
- name: make sure debootstrap is installed
  shell: type debootstrap

- name: make sure rinse is installed
  shell: type rinse

- name: make sure docker is running
  service: name=docker state=running

- name: execute stage 0 build
  shell: sudo roles/build/files/stage-0.sh

- name: execute stage 1 build
  shell: roles/build/files/stage-1.sh roles/build/files/debian7-amd64.dockerfile

Make stage-1 execution explicit by using shell module, instead of script module.
Make stage-1 execution explicit by using shell module, instead of script module.
