You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
566 B

- name: install Python
homebrew: name=python state=present
- name: check if Powerline is already installed
shell: /usr/local/bin/pip list | grep Powerline
ignore_errors: true
register: powerline_installed
- name: install Powerline
command: >
/usr/local/bin/pip
install
--user
--editable={{ ansible_env.HOME }}/.dotfiles/src/powerline
when: powerline_installed.failed
- name: symlink Powerline configs
file: src={{ item }} dest=/usr/local/bin/{{ item | basename }} state=link
with_fileglob: ~/.dotfiles/src/powerline/scripts/*