- name: Install Sixpack Apt Prerequisites
  apt: name={{ item }} state=present
  become: yes
  with_items:
    - python-pip
    - python-dev

- name: Install Sixpack pip Packages
  pip: name={{ item }} state=present executable=pip
  become: yes
  with_items:
    - sixpack
    - gunicorn

- name: Install Sixpack configuration
  become: yes
  template: src=sixpack.yaml.j2 dest=/etc/sixpack/config.yml owner=root group=root mode=644
- name: Install Sixpack Apt Prerequisites
  apt: name={{ item }} state=present
  become: yes
  with_items:
    - python-pip
    - python-dev

- name: Install Sixpack pip Packages
  pip: name={{ item }} state=present executable=pip
  become: yes
  with_items:
    - sixpack
    - gunicorn

- name: Ensures sixpack configuration dir exists
  become: yes
  file: path=/etc/sixpack state=directory

- name: Install Sixpack configuration
  become: yes
  template: src=sixpack.yaml.j2 dest=/etc/sixpack/config.yml owner=root group=root mode=644
Fix missing directory dependency for sixpack
Fix missing directory dependency for sixpack

DoSomething/devops#246
