---

- name: Install requirements - pt. 1
  apt: pkg={{item}}
  with_items:
    - cron
    - lzop
    - pv
    - python-pip
    - python-dev
    - python-lxml

- name: Install requirements - pt. 2
  pip: name=wal-e

---

- name: Install requirements - pt. 1
  apt: pkg={{item}}
  with_items:
    - cron
    - lzop
    - pv
    - python-pip
    - python-dev
    - python-lxml

- name: Install requirements - pt. 2
  pip: name={{item}} state=latest
  with_items:
    - six
    - wal-e

Install latest version of six to avoid wal-e errors
Install latest version of six to avoid wal-e errors

  See related issue here: https://github.com/wal-e/wal-e/issues/143

  wal-e causes an error if installed version of "six" is not >= 1.7.0,
  which is not currently installed by default.
