main.yml 668 B

12345678910111213141516171819202122232425262728
  1. ---
  2. - name: install basic tools
  3. zypper: name={{ item }} state=present
  4. with_items:
  5. - htop
  6. - tmux
  7. - python-pip
  8. - name: ensure virtualenv is not installed
  9. zypper: name={{ item }} state=absent
  10. with_items:
  11. - python-virtualenv
  12. - python-virtualenvwrapper
  13. - name: install virtualenv from pypi
  14. pip: name={{ item }} state=present use_mirrors=yes
  15. with_items:
  16. - virtualenv
  17. - virtualenvwrapper
  18. - name: add ufo-kit repo
  19. zypper_repository: name=repo-ufo-kit repo={{ our_suse_repo }}
  20. - name: install ImageJ from ufo-kit repo
  21. zypper: name=imagej state=latest
  22. - name: set up a sane .bashrc
  23. copy: src=bashrc dest=/root/.bashrc force=no