diff options
Diffstat (limited to 'roles/tools/tasks/main.yml')
-rw-r--r-- | roles/tools/tasks/main.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index fe5b023..70bba9d 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml | |||
@@ -18,13 +18,11 @@ | |||
18 | path: $XDG_STATE_HOME/psql | 18 | path: $XDG_STATE_HOME/psql |
19 | state: directory | 19 | state: directory |
20 | - name: vim config file | 20 | - name: vim config file |
21 | register: vim_result | ||
22 | copy: | 21 | copy: |
23 | src: vimrc | 22 | src: vimrc |
24 | dest: $XDG_CONFIG_HOME/vim/vimrc | 23 | dest: $XDG_CONFIG_HOME/vim/vimrc |
25 | - name: run PlugInstall | 24 | notify: |
26 | shell: vim -c PlugInstall -c qa | 25 | - run PlugInstall |
27 | when: vim_result.changed | ||
28 | - name: tmux config file | 26 | - name: tmux config file |
29 | template: | 27 | template: |
30 | src: tmux.conf.j2 | 28 | src: tmux.conf.j2 |