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.
17 lines
454 B
17 lines
454 B
9 years ago
|
- name: check if Powerline is already installed
|
||
7 years ago
|
shell: pip list | grep Powerline
|
||
9 years ago
|
ignore_errors: true
|
||
9 years ago
|
register: powerline_installed
|
||
7 years ago
|
|
||
9 years ago
|
- name: install Powerline
|
||
|
command: >
|
||
7 years ago
|
pip
|
||
9 years ago
|
install
|
||
|
--user
|
||
7 years ago
|
--editable=~/.dotfiles/src/powerline
|
||
9 years ago
|
when: powerline_installed.failed
|
||
9 years ago
|
|
||
|
- name: symlink Powerline configs
|
||
|
file: src={{ item }} dest=/usr/local/bin/{{ item | basename }} state=link
|
||
|
with_fileglob: ~/.dotfiles/src/powerline/scripts/*
|