From 10db9e55e16124e96bf42c2b108b5aae6526e021 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 5 Jan 2015 17:58:33 -0800 Subject: [PATCH] [meta] Fix Powerline playbook --- ansible/roles/dotfiles/tasks/main.yml | 2 ++ ansible/roles/dotfiles/tasks/powerline.yml | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ansible/roles/dotfiles/tasks/main.yml b/ansible/roles/dotfiles/tasks/main.yml index e4d2a39..0b05666 100644 --- a/ansible/roles/dotfiles/tasks/main.yml +++ b/ansible/roles/dotfiles/tasks/main.yml @@ -1,4 +1,6 @@ --- - include: dotfiles.yml + tags: dotfiles - include: powerline.yml + tags: powerline - include: zsh.yml diff --git a/ansible/roles/dotfiles/tasks/powerline.yml b/ansible/roles/dotfiles/tasks/powerline.yml index a6c3c53..0fd9d05 100644 --- a/ansible/roles/dotfiles/tasks/powerline.yml +++ b/ansible/roles/dotfiles/tasks/powerline.yml @@ -8,5 +8,12 @@ - python-pip when: ansible_os_family == "Debian" - command: > - /usr/local/bin/pip install --user - --editable={{ ansible_env.HOME }}/.dotfiles/src/powerline + /usr/local/bin/pip + install + --user + --editable={{ ansible_env.HOME }}/.dotfiles/src/powerline +- file: + src: ~/.dotfiles/src/powerline/scripts/{{ item }} + dest: /usr/local/bin/{{ item }} + state: link + with_lines: ls ~/.dotfiles/src/powerline/scripts