---
- name: Install useful packages.
  apt: pkg={{ item }} state=present
  with_items:
    - tmux
    - tree
    - htop
    - curl
    - exuberant-ctags
    - ragel
    - scons
    - cmake
    - mc
    - sqlite3
    - subversion
    - git
    - build-essential
    - nasm
    - pinfo
    - task
    - mercurial
    - phantomjs
    - cscope
    - zsh
    - vim
    - gdb
    - valgrind

- name: Add the Silver Searcher PPA
  apt_repository: repo="ppa:mizuno-as/silversearcher-ag" state=present
  when: ansible_distribution_version|float > 12.10

- name: Install The Silver Searcher
  apt: pkg=silversearcher-ag state=present
  when: ansible_distribution_version|float > 12.10

- name: Install standalone Ack
  get_url: url=http://beyondgrep.com/ack-2.12-single-file
           dest=/usr/local/bin/ack
           owner=root group=root mode=0755

---
- name: Install useful packages.
  apt: pkg={{ item }} state=present
  with_items:
    - tmux
    - tree
    - htop
    - curl
    - exuberant-ctags
    - ragel
    - scons
    - cmake
    - mc
    - sqlite3
    - subversion
    - git
    - build-essential
    - nasm
    - pinfo
    - task
    - mercurial
    - phantomjs
    - cscope
    - zsh
    - vim
    - gdb
    - valgrind

- name: Install ZMQ2
  apt: pkg=libzmq-dev state=present
  when: ansible_distribution_version|float < 13.10

- name: Install ZMQ3
  apt: pkg=libzmq3-dev state=present
  when: ansible_distribution_version|float >= 13.10

- name: Add the Silver Searcher PPA
  apt_repository: repo="ppa:mizuno-as/silversearcher-ag" state=present
  when: ansible_distribution_version|float > 12.10

- name: Install The Silver Searcher
  apt: pkg=silversearcher-ag state=present
  when: ansible_distribution_version|float > 12.10

- name: Install standalone Ack
  get_url: url=http://beyondgrep.com/ack-2.12-single-file
           dest=/usr/local/bin/ack
           owner=root group=root mode=0755

Add ZeroMQ to dev-utils role.
Add ZeroMQ to dev-utils role.
