---

- hosts: all
  sudo: yes
  tasks:
    # Setup development env for solar
    - shell: python setup.py develop chdir=/vagrant/solar

---

- hosts: all
  sudo: yes
  tasks:
    # Setup development env for solar
    - shell: pip install -e . chdir=/vagrant/solar

Use pip install instead of setup.py develop
Use pip install instead of setup.py develop
