---
- hosts: all
  pre_tasks:
    - name: Update apt cache it if hasn't been updated within the last day
      apt: update_cache=yes cache_valid_time=86400
      sudo: yes

    - name: Install Ubuntu packages
      apt: pkg={{ item }}
      sudo: yes
      with_items:
        - git
        - python
        - python-dev
        - python-pip
        - tmux
        - pandoc

    - name: Install Python-related packages
      pip: name={{ item }}
      sudo: yes
      with_items:
        - pyzmq
        - tornado
        - ipython[all]
        - jsonschema
        - pytest
        - nose
        - pyflakes
        #- numpy
        #- scipy
        #- matplotlib
  roles:
    - vim
    - bash-aliases
    - latex
    - music21

---
- hosts: all
  pre_tasks:
    - name: Update apt cache it if hasn't been updated within the last day
      apt: update_cache=yes cache_valid_time=86400
      sudo: yes

    - name: Install Ubuntu packages
      apt: pkg={{ item }}
      sudo: yes
      with_items:
        - git
        - python
        - python-dev
        - python-pip
        - tmux
        - ncdu
        - pandoc

    - name: Install Python-related packages
      pip: name={{ item }}
      sudo: yes
      with_items:
        - pyzmq
        - tornado
        - ipython[all]
        - jsonschema
        - pytest
        - nose
        - pyflakes
        #- numpy
        #- scipy
        #- matplotlib
  roles:
    - vim
    - bash-aliases
    - latex
    - music21

Install ncdu as part of the base packages.
Install ncdu as part of the base packages.
