---

- hosts: all
  sudo: yes
  tasks:
      # Setup additional development tools
    - apt: name=vim state=present
    - apt: name=tmux state=present
    - apt: name=htop state=present
    - apt: name=python-virtualenv state=present
    - apt: name=virtualenvwrapper state=present
    - apt: name=ipython state=present
    - apt: name=python-pudb state=present
    - apt: name=python-pip state=present
    - shell: pip install docker-py

    # requirements
    - shell: pip install -r /vagrant/requirements.txt

    # Graph drawing
    #- apt: name=python-matplotlib state=present
    - apt: name=python-graphviz state=present

      # Setup development env for solar
    #- shell: python setup.py develop chdir=/vagrant/solar

---

- hosts: all
  sudo: yes
  tasks:
      # Setup additional development tools
    - apt: name=vim state=present
    - apt: name=tmux state=present
    - apt: name=htop state=present
    - apt: name=python-virtualenv state=present
    - apt: name=virtualenvwrapper state=present
    - apt: name=ipython state=present
    - apt: name=python-pudb state=present
    - apt: name=python-pip state=present
    - apt: name=python-mysqldb state=present
    - shell: pip install docker-py

    # requirements
    - shell: pip install -r /vagrant/requirements.txt

    # Graph drawing
    #- apt: name=python-matplotlib state=present
    - apt: name=python-graphviz state=present

      # Setup development env for solar
    #- shell: python setup.py develop chdir=/vagrant/solar

Install python-mysqldb on all nodes
Install python-mysqldb on all nodes
