---
# This playbook sets installs the CKAN application.
- name: update apt-cache
  sudo: true
  apt: update_cache=yes

- name: install packages for CKAN
  apt: pkg={{ item }} state=installed
  with_items:
    - nginx
    - apache2
    - libapache2-mod-wsgi
    - libpq5
    - emacs
    - htop
    - iotop
    - tree
    - ack-grep
    - vim
    - zip
    - screen
    - python-boto

- name: download CKAN package
  get_url: 'url="http://packaging.ckan.org/build/{{ ckan_package_filename }}" dest=/tmp/{{ ckan_package_filename }}'

- name: install CKAN package
  sudo: true
  apt: deb=/tmp/{{ ckan_package_filename }}
  register: ckan_installed

---
# This playbook sets installs the CKAN application.
- name: update apt-cache
  sudo: true
  apt: update_cache=yes

- name: install packages for CKAN
  apt: pkg={{ item }} state=installed
  with_items:
    - nginx
    - apache2
    - libapache2-mod-wsgi
    - libpq5
    - emacs
    - git
    - htop
    - iotop
    - tree
    - ack-grep
    - vim
    - zip
    - screen
    - python-boto

- name: download CKAN package
  get_url: 'url="http://packaging.ckan.org/build/{{ ckan_package_filename }}" dest=/tmp/{{ ckan_package_filename }}'

- name: install CKAN package
  sudo: true
  apt: deb=/tmp/{{ ckan_package_filename }}
  register: ckan_installed

Add Git as a CKAN role dependency.
Add Git as a CKAN role dependency.
