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